import { z } from 'zod'; import type { PaletteShade } from '#src/constants/colors.js'; import type { def } from '#src/schema/creator/index.js'; /** * OKLCH color format validator * * OKLCH is a perceptually uniform color space that provides better color manipulation than RGB/HEX. * Format: oklch(l c h [/ a]) where: * - l (lightness): 0-1 * - c (chroma): 0-1 * - h (hue): 0-360 * - a (alpha, optional): 0-100 * * Example: "oklch(0.5 0.2 180)" or "oklch(0.5 0.2 180 / 50)" */ export declare const oklchColor: z.ZodString; /** * Theme color configuration * * Maps semantic color keys (e.g. "background", "foreground", "primary") to OKLCH color values. */ export declare const themeColorSchema: z.ZodRecord, z.ZodOptional>; /** * Theme colors configuration type */ export type ThemeColorsConfig = z.infer; /** * Palette shades type - maps shade names to OKLCH colors */ export type PaletteShades = Record; /** * Palette configuration schema * * Defines a color palette with a base color and generated shades. * Palettes can use predefined bases (zinc, slate, etc.) or a custom base color. */ export declare const paletteSchema: z.ZodObject<{ paletteName: z.ZodString; customBase: z.ZodOptional>; shades: z.ZodRecord, z.ZodString>; }, z.core.$strip>; /** * Palettes configuration schema * * Defines base (neutral colors) and primary (brand colors) palettes */ export declare const palettesSchema: z.ZodObject<{ base: z.ZodObject<{ paletteName: z.ZodString; customBase: z.ZodOptional>; shades: z.ZodRecord, z.ZodString>; }, z.core.$strip>; primary: z.ZodObject<{ paletteName: z.ZodString; customBase: z.ZodOptional>; shades: z.ZodRecord, z.ZodString>; }, z.core.$strip>; }, z.core.$strip>; /** * Palettes configuration type */ export type PalettesConfig = z.infer; /** * Theme configuration schema * * Defines the complete theme including palettes and semantic color mappings for light and dark modes. */ export declare const createThemeSchema: (context: import("#src/schema/creator/index.js").DefinitionSchemaParserContext) => z.ZodObject<{ palettes: z.ZodObject<{ base: z.ZodObject<{ paletteName: z.ZodString; customBase: z.ZodOptional>; shades: z.ZodRecord, z.ZodString>; }, z.core.$strip>; primary: z.ZodObject<{ paletteName: z.ZodString; customBase: z.ZodOptional>; shades: z.ZodRecord, z.ZodString>; }, z.core.$strip>; }, z.core.$strip>; colors: z.ZodObject<{ light: z.ZodRecord, z.ZodOptional>; dark: z.ZodRecord, z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; /** * Theme configuration type (output after validation) */ export type ThemeConfig = def.InferOutput; //# sourceMappingURL=theme.d.ts.map