/** * Tailwind Token Generator — Converts Figma design tokens into * Tailwind-compatible CSS custom properties and config extensions. * * Also exports Style Dictionary v4 W3C DTCG format for compatibility * with the broader design token ecosystem (200K+ weekly SD users). */ import type { DesignToken } from "../engine/registry.js"; /** * Write all token output files to disk. */ export declare function writeTokenFiles(tokens: DesignToken[], outputDir: string, formats?: Set): Promise<{ css: string; tailwind: string; json: string; }>; /** * Generate a shadcn-compatible globals.css token block * that maps Figma tokens to shadcn CSS variables. */ export declare function generateShadcnTokenMapping(tokens: DesignToken[]): string; /** * Export tokens as Style Dictionary v4 W3C DTCG format. * Compatible with `style-dictionary`, `@tokens-studio/sd-transforms`, and any * W3C Design Token Community Group-compliant tool. * * Output structure: * { * "color": { "$type": "color", "primary": { "$value": "#..." } }, * "spacing": { "$type": "dimension", "md": { "$value": "16px" } }, * ... * } */ export declare function exportToStyleDictionary(tokens: DesignToken[]): Record;