/** Format displayed/copyable token values without assuming string shape. */ export declare function formatTokenValue(value: unknown): string; /** Literal case-insensitive search across name and original value. */ export declare function matchesToken(name: string, value: unknown, search?: string): boolean; /** Flatten nested color namespaces while retaining DEFAULT and ignoring null values. */ export declare function flattenTokenShades(shades: Record, path?: string, result?: Record): Record; /** Normalized token object passed through grid/list sample slots. */ export interface ProcessedToken { /** Stable source key used for search, rendering, and focus retention. */ key: string; /** Displayed token name. */ name: string; /** Original value shape, except numbers are normalized to strings. */ value: any; } /** Normalize records once for grids/lists while preserving existing slot value contracts. */ export declare function processTokens(tokens: Record, getName?: (key: string, value: any) => string, search?: string): ProcessedToken[];