import type { ThemeTokens } from '../types/theme.types'; /** CSS custom-property prefix for every Photon design token. */ export declare const TOKEN_PREFIX = "--pg"; /** Converts a camelCase token key to kebab-case (`headerBackground` → `header-background`). */ export declare function toKebab(str: string): string; /** * Recursively flattens a (possibly nested) token object into a map of full * CSS-variable names → string values, e.g. `{ colors: { headerBackground } }` * → `--pg-colors-header-background`. Exported so the AI Theme Registry derives * the exact same real variable names the injector produces. */ export declare function flattenTokens(obj: Record, prefix: string, result: Map): void; /** Flattens a full {@link ThemeTokens} tree into a `--pg-*` → value map. */ export declare function flattenThemeTokens(tokens: ThemeTokens): Map; export declare class CssVarInjector { private styleEl; private scopeEl; inject(tokens: ThemeTokens, scopeEl?: HTMLElement): void; injectAsStylesheet(tokens: ThemeTokens, selector?: string): void; remove(): void; getVar(tokenPath: string): string; } //# sourceMappingURL=css-var-injector.d.ts.map