/** * The shared builder behind every built-in preset. * * A preset states only what makes it distinct (colours, voice, structure and * component recipes); the builder fills the structural defaults and the * system font stacks, then splits the result into the light and dark token * sets the resolver consumes. */ import type { ThemeRecipeSurface } from './recipes.js'; import type { Tokens } from './tokens.js'; export interface PresetDefinition { name: string; description: string; light: Tokens; dark: Tokens; /** Component recipes this preset selects; unset surfaces keep their default. */ recipes?: Partial>; } export declare const SYSTEM_SANS = "ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif"; export declare const SYSTEM_SERIF = "ui-serif, Georgia, Times New Roman, serif"; export declare const SYSTEM_MONO = "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"; /** A bundled face in front of its system fallback. */ export declare const face: (family: string, fallback: string) => string; export interface PresetInput { name: string; description: string; colors: { light: Tokens; dark: Tokens; }; typing?: Tokens; structure?: Tokens; recipes?: Partial>; } export declare function preset(input: PresetInput): PresetDefinition; //# sourceMappingURL=preset-builder.d.ts.map