/** * Theme recipes: a named presentation choice per surface (`cards: flat`, * `tables: ledger`). A recipe is typed data like a token: the author picks a * value from a closed list and the compiler owns the CSS it maps to, so a * recipe can never carry a stylesheet. */ import { type DiagnosticBag } from '../diagnostics.js'; /** Surfaces and their recipe values; the first value of each list is the default. */ export declare const THEME_RECIPE_SPECS: { readonly cards: readonly ["raised", "flat", "outlined"]; readonly sections: readonly ["ruled", "divided", "plain"]; readonly tables: readonly ["default", "ledger", "minimal"]; readonly charts: readonly ["default", "minimal"]; readonly hero: readonly ["default", "compact"]; readonly metrics: readonly ["default", "headline"]; readonly media: readonly ["default", "framed"]; readonly callouts: readonly ["tinted", "outlined"]; }; export type ThemeRecipeSurface = keyof typeof THEME_RECIPE_SPECS; export declare const THEME_RECIPE_SURFACES: ThemeRecipeSurface[]; /** * Validate `theme.recipes`. Returns the valid entries in surface order; every * unknown surface or value is reported with the allowed list. */ export declare function validateThemeRecipes(value: unknown, path: string, bag: DiagnosticBag): Record; /** JSON Schema for `theme.recipes`. */ export declare const THEME_RECIPES_JSON_SCHEMA: Record; /** A complete recipe choice: every surface mapped to one of its values. */ export type ThemeRecipes = Record; /** The default recipe for every surface. */ export declare function defaultRecipes(): ThemeRecipes; /** * The surfaces whose recipe differs from the default, in surface order. Only * these reach the emitted page, so a page that keeps every default renders the * same bytes as before recipes existed. */ export declare function nonDefaultRecipes(recipes: Readonly> | undefined): [ThemeRecipeSurface, string][]; //# sourceMappingURL=recipes.d.ts.map