import { STROKE_LINEJOIN } from "./consts"; import { ShapeDOM } from "./VirtualDOM"; export interface Shape { left?: number; top?: number; right?: number; bottom?: number; width?: number; height?: number; fill?: string; strokeLinejoin?: STROKE_LINEJOIN; strokeWidth?: number; className?: string; origin?: string | number; [key: string]: any; } export interface RoundRectShape extends Shape { round?: number; css?: boolean; } export interface PolyShape extends Shape { side?: number; split?: number; css?: boolean; innerRadius?: number; } export interface OvalShape extends Shape { r?: number; rx?: number; ry?: number; } export declare function getRect(shape: PolyShape): { points: number[][]; width: number; height: number; }; export declare function getPath(points: number[][]): string; export declare function be(path: SVGPathElement, shape: PolyShape, container?: ShapeDOM): void; export declare function star(shape: PolyShape, container?: ShapeDOM): SVGElement; export declare function poly(shape: PolyShape, container?: ShapeDOM): SVGElement; export declare function oval(shape: OvalShape, container?: ShapeDOM): SVGElement; export declare function rect(shape: RoundRectShape, container?: ShapeDOM): SVGElement; export * from "./VirtualDOM";