/** * Colour parsing for the palette and band props: `#rgb`, `#rrggbb`, * `rgb(r, g, b)` and `rgba(r, g, b, a)` all resolve to an [r, g, b] * triple. Anything else returns null and the caller keeps its default. */ export declare function parseRgb(color: string): [number, number, number] | null; /** `rgb(r, g, b)` for the stylesheet, or null if unparseable. */ export declare function toRgb(color: string): string | null; /** `r, g, b` for the canvas (dropped into rgba()), or null. */ export declare function toTriple(color: string): string | null;