/** * GUCDI — brand logo tokenizer (pure). The genuinely useful, deterministic part * of the logo pipeline: take an SVG (passthrough, or PNG traced by potrace/ * vtracer in the command shell — an LLM NEVER authors paths) and rewrite its * hardcoded colors to design-token CSS-var references so it recolors with the * brand and flips for dark/light automatically. * * Pure + unit-tested. The tracer shell-out + IO live in ./logo-cmd.ts. * See docs/plans/gucdi-greenfield.md Risk 4. */ /** Distinct colors (#rgb / #rrggbb), canonicalized, in document order. */ export declare function extractSvgColors(svg: string): string[]; /** * Replace each hardcoded hex color with `var(--)` per `colorMap` (hex → * token name, matched case-insensitively and #rgb/#rrggbb-equivalently). Colors * not in the map are left untouched (and reported by the caller for the PM to * map). Once tokenized, the same SVG flips dark/light via the CSS vars — no * separate variant file needed. */ export declare function tokenizeSvg(svg: string, colorMap: Record): string; /** Colors still hardcoded after tokenizing — what the PM must add to the map. */ export declare function untokenizedColors(svg: string, colorMap: Record): string[]; //# sourceMappingURL=logo.d.ts.map