//#region src/svg/path.d.ts interface ParsedPathPoint { readonly x: number; readonly y: number; } type ParsedPathSegment = { readonly kind: "line"; readonly to: ParsedPathPoint; } | { readonly kind: "cubic"; readonly control1: ParsedPathPoint; readonly control2: ParsedPathPoint; readonly to: ParsedPathPoint; }; interface ParsedPathSubpath { readonly start: ParsedPathPoint; readonly closed: boolean; readonly segments: readonly ParsedPathSegment[]; } declare function parseSvgPathData(d: string): readonly ParsedPathSubpath[] | undefined; //#endregion export { ParsedPathPoint, ParsedPathSegment, ParsedPathSubpath, parseSvgPathData };