import { PaletteRampSpec, PaletteSpec, RampStep } from './types.js'; /** * Emits every ramp as scheme-aware CSS values: `light-dark(, )`. * The dark ramp is the light ramp mirrored, so a step keeps its meaning in both schemes: * `0` is always the canvas end, `950` always the ink end. * Throws when the palette lacks a ramp the styles read by name, names a ramp twice or takes a reserved name, * or has a curve (its own or a ramp's) without one value per step. */ export declare function generatePaletteOklch(palette?: PaletteSpec): Record; export declare function generateRampOklch(ramp: PaletteRampSpec, palette?: PaletteSpec): Record; /** * Samples one ramp along its curves, as the light scheme sees it. * A ramp's own curve takes the place of the palette's; the multipliers apply to either. */ export declare function generateRampSteps(ramp: PaletteRampSpec, palette?: PaletteSpec): RampStep[]; /** * Emits the tone context of one ramp: `.tone-` points the context ramp * (`--tone-0` … `--tone-950`, `--tone-contrast`) at the ramp. */ export declare function generateToneCss(name: string): string; /** * Emits the palette: the ramps under `selector`, then one tone context per ramp. * With `selector` set to `null`, emits bare ramp declarations only. */ export declare function generatePaletteCss(palette?: PaletteSpec, selector?: string | null): string; export declare function contrastColor({ lightness, chroma }: RampStep): "#000" | "#fff"; //# sourceMappingURL=generate.d.ts.map