/** * Existing-system visual-token extraction (B wave-3 file-size split). * * Extracted verbatim from `existing-system-service.ts`: the visual * token keyword lists, the Less/Sass/CSS/Tailwind parsers, the token * classifier, the dedupe cap, and the cross-source inconsistency * finder. Function bodies and literals are unchanged (verbatim move); * the file walkers and the public `scanExistingSystem` entry stay in * the sibling module. */ import type { VisualToken, VisualTokenSource } from './scan-types.js'; export declare function classifyToken(name: string): 'color' | 'spacing' | 'typography' | 'radius' | null; export declare function parseLessOrSassVars(content: string, sourceRel: string): VisualToken[]; export declare function parseCssVars(content: string, sourceRel: string): VisualToken[]; export declare function extractTailwindTokens(projectRoot: string): Promise<{ tokens: VisualToken[]; source: VisualTokenSource | null; }>; export declare function dedupeTokens(tokens: VisualToken[], max: number): VisualToken[]; export declare function findInconsistencies(tokens: VisualToken[]): string[];