export interface RectProps { x?: number; y?: number; width: number; height: number; /** Corner radii (rounded rect). */ rx?: number; ry?: number; /** Omit `fill` for a borders-only rectangle. */ fill?: string; stroke?: string; strokeWidth?: number; } export declare function Rect(_props: RectProps): null; export declare namespace Rect { var shapeType: "rect"; } export interface CircleProps { cx: number; cy: number; radius: number; fill?: string; stroke?: string; strokeWidth?: number; } export declare function Circle(_props: CircleProps): null; export declare namespace Circle { var shapeType: "circle"; } export interface LineProps { x1: number; y1: number; x2: number; y2: number; stroke: string; strokeWidth?: number; } export declare function Line(_props: LineProps): null; export declare namespace Line { var shapeType: "line"; } export interface PolygonProps { /** Flattened [x0, y0, x1, y1, ...] vertices. */ points: number[]; fill?: string; stroke?: string; strokeWidth?: number; /** Whether to close the path back to the first point (default true). */ closed?: boolean; } export declare function Polygon(_props: PolygonProps): null; export declare namespace Polygon { var shapeType: "polygon"; }