export type Position = { x: number; y: number; }; export declare class SuperPath2D { pathData: string; legacyPath: Path2D; constructor(); moveTo(position: Position): void; lineTo(position: Position): void; arc(centerPosition: Position, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void; bezierCurveTo(cp1: Position, cp2: Position, endPoint: Position): void; toString(): string; toPath2D(): Path2D; addPath(path: Path2D): void; closePath(): void; }