/** * Materialize a design kit's tokens into a real, stack-appropriate theme file. * * This is what turns Design Studio from "the model SHOULD use these colors" into * "these colors ARE the source of truth in the codebase": the generated file is * committed and imported, so the kit's palette is enforced by the build, not by * a prompt. CSS keeps OKLCH verbatim (native); native stacks get sRGB hex/float * via `oklchToHex`. * * Pure: no disk access — returns `{ path, content }`. Callers (the `design` * tool, `/design materialize`, the WebUI button) decide how/where to write. */ import type { DesignKitTokens, DesignStack } from '../types/design-kit.js'; export interface MaterializeResult { /** Suggested project-relative path. */ path: string; /** File contents. */ content: string; /** Human label for the format. */ format: string; } /** * Generate a stack-appropriate theme file from a kit's (override-applied) tokens. * `outPath` overrides the conventional default path. */ export declare function materializeTokens(opts: { tokens: DesignKitTokens; stack: DesignStack; kitId: string; outPath?: string | undefined; }): MaterializeResult; //# sourceMappingURL=design-materialize.d.ts.map