/** * Utility functions for transforming theme objects into different formats */ /** * Apply abbreviation rules to a single token-path segment. Shared by the CSS * var generator (`flattenObject`) and the seeds-react-system-props shim's * color-prop fallback, so the `--color-*` names each side produces can't drift. */ export declare function abbreviate(key: string): string; /** * Flatten a nested object into a single-level object with kebab-case keys * Example: { button: { primary: { background: { base: '#fff' } } } } * Becomes: { 'button-primary-bg-base': '#fff' } */ export declare function flattenObject(obj: any, prefix?: string, separator?: string): Record; /** * Flatten colors with a 'color-' prefix for CSS variables */ export declare function flattenColors(colors: any): Record; /** * Flatten spacing with a 'space-' prefix */ export declare function flattenSpacing(space: any): Record; /** * Flatten typography values for Tailwind */ export declare function flattenTypography(typography: any): Record; /** * Flatten radii (border radius) */ export declare function flattenRadii(radii: any): Record; /** * Flatten border widths */ export declare function flattenBorderWidths(borderWidths: any): Record; /** * Flatten shadows */ export declare function flattenShadows(shadows: any): Record; /** * Flatten font weights */ export declare function flattenFontWeights(fontWeights: any): Record; /** * Flatten easing (transition timing functions) */ export declare function flattenEasing(easing: any): Record; /** * Flatten duration (transition durations) */ export declare function flattenDuration(duration: any): Record; /** * Check if a value is a valid CSS color * Filters out complex values like color-mix() which may not work everywhere */ export declare function isSimpleColor(value: string): boolean; /** * Filter out colors that use advanced CSS features */ export declare function filterComplexColors(colors: Record): Record; //# sourceMappingURL=utils.d.ts.map