import { Coordinate } from '../../../dependents';
import { Position, Shape, ShapeInfo } from '../../../interface';
/**
 * @ignore
 * Gets shape attrs
 * @param cfg
 * @param isStroke
 * @param smooth
 * @param registeredShape
 * @param [constraint]
 * @returns
 */
export declare function getShapeAttrs(cfg: ShapeInfo, isStroke: boolean, smooth: boolean, registeredShape: Shape, constraint?: Position[]): {
    [x: string]: any;
};
/**
 * @ignore
 * Gets constraint
 * @param coordinate
 * @returns constraint
 */
export declare function getConstraint(coordinate: Coordinate): Position[];
