export declare type ShapeSpec = CircleSpec | EllipseSpec | LineSpec | PathSpec | PolygonSpec | PolylineSpec | RectSpec;
export declare type CircleSpec = {
    type?: 'circle';
    cx: number;
    cy: number;
    r: number;
};
export declare type EllipseSpec = {
    type?: 'ellipse';
    cx?: number;
    cy?: number;
    rx?: number;
    ry?: number;
};
export declare type LineSpec = {
    type?: 'line';
    x1: number;
    y1: number;
    x2: number;
    y2: number;
};
export declare type PathSpec = {
    type?: 'path';
    d: string;
};
export declare type PolygonSpec = {
    type?: 'polygon';
    points: string;
};
export declare type PolylineSpec = {
    type?: 'polyline';
    points: string;
};
export declare type RectSpec = {
    type?: 'rect';
    height: number;
    width: number;
    rx?: number;
    ry?: number;
    x?: number;
    y?: number;
};
export declare type CurveSpec = {
    curve?: {
        type: string;
        largeArcFlag?: number;
        sweepFlag?: number;
        xAxisRotation?: number;
        rx?: number;
        ry?: number;
        x1?: number;
        y1?: number;
        x2?: number;
        y2?: number;
    };
    x: number;
    y: number;
    moveTo?: boolean;
    closed?: boolean;
};
