import { ThemeFlavor, ThemeTokens } from '../../core/dist/index.js'; import { CSS_VAR_PREFIX } from '../../core/dist/themes/css/mappings.js'; /** * Generates CSS custom property declarations from theme tokens. * Uses centralized mapping configuration for consistency. * * @param tokens - The theme tokens to convert * @returns Array of CSS variable declaration lines * * @example * ```ts * const lines = generateCssVarsFromTokens(theme.tokens); * // [' --turbo-bg-base: #1e1e2e;', ' --turbo-bg-surface: #313244;', ...] * ``` */ export declare function generateCssVarsFromTokens(tokens: ThemeTokens): string[]; /** * Generates a complete CSS file for a single theme flavor. * * @param flavor - The theme flavor to generate CSS for * @returns Complete CSS string with data-theme selector * * @example * ```ts * const css = generateThemeCss(catppuccinMocha); * // [data-theme="catppuccin-mocha"] { --turbo-bg-base: #1e1e2e; ... } * ``` */ export declare function generateThemeCss(flavor: ThemeFlavor): string; /** * Generates the core CSS file with default variable values. * * @param defaultFlavor - The theme flavor to use as defaults * @returns CSS string with :root selector * * @example * ```ts * const coreCss = generateCoreCss(catppuccinMocha); * // :root { --turbo-bg-base: #1e1e2e; ... } * ``` */ export declare function generateCoreCss(defaultFlavor: ThemeFlavor): string; /** * Generates a combined CSS file with all themes. * * @param flavors - Array of all theme flavors * @param defaultFlavorId - ID of the theme to use as :root defaults * @returns Complete CSS string with core and all theme selectors */ export declare function generateCombinedCss(flavors: readonly ThemeFlavor[], defaultFlavorId?: string): string; /** * Generates a CSS file containing only `[data-theme]` selectors for all themes. * * Unlike `generateCombinedCss()`, this does NOT include a `:root` block. * Designed for CSS-only theme switching where a blocking script sets * `data-theme` on `` — no stylesheet swapping required, eliminating FOUC. * * @param flavors - Array of all theme flavors * @returns CSS string with all `[data-theme]` selectors * * @example * ```ts * const css = generateThemesOnlyCss(flavors); * // [data-theme="catppuccin-mocha"] { ... } * // [data-theme="dracula"] { ... } * ``` */ export declare function generateThemesOnlyCss(flavors: readonly ThemeFlavor[]): string; export { CSS_VAR_PREFIX }; //# sourceMappingURL=generator.d.ts.map