import type { SvgColor } from './contract.scene2d-formats-types.ts'; /** * SVG's colour vocabulary: hex, `rgb()`, `hsl()`, the named table, `none` and `currentColor`. * * ★ `currentColor` IS WHY THIS TAKES A SECOND ARGUMENT. A colour in SVG can defer to the inherited `color` property, * so resolving one needs the cascade's current value — which is the only reason the colour parser and the style * cascade know about each other at all. * * `null` means `none`, and that is a value rather than a failure: `fill="none"` is a shape that is drawn and not * filled, which a caller must be able to tell from a colour it failed to read. */ export declare function parseSvgColor(value: string): SvgColor | null; export declare function resolveSvgColor(value: string, currentColor: string): SvgColor | null; //# sourceMappingURL=svgColor.d.ts.map