import { Color } from "document-schema.js"; //#region src/svg/paint.d.ts declare function parseSvgColor(raw: string): Color | undefined; type SvgPaint = { readonly kind: "none"; } | { readonly kind: "currentColor"; } | { readonly kind: "color"; readonly color: Color; } | { readonly kind: "url"; readonly fragment: string; }; declare function parseSvgPaint(raw: string): SvgPaint | undefined; type SvgDashStyle = "dashed" | "dotted"; declare function parseSvgDashStyle(raw: string | undefined): SvgDashStyle | undefined; //#endregion export { SvgDashStyle, SvgPaint, parseSvgColor, parseSvgDashStyle, parseSvgPaint };