/** * Palette schemas using Effect Schema */ import { Schema } from "effect"; /** * Stop Position Schema * * Valid stop positions are 100, 200, 300, ..., 1000 */ export declare const StopPositionSchema: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; export declare const StopPosition: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000, import("effect/ParseResult").ParseError, never>; export type StopPosition = typeof StopPositionSchema.Type; /** * Array of all valid stop positions (for iteration) */ export declare const STOP_POSITIONS: ReadonlyArray; /** * Palette Stop Schema * * Represents a single stop in a color palette */ export declare const PaletteStopSchema: Schema.Struct<{ position: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; color: Schema.Struct<{ l: Schema.refine>; c: Schema.refine>; h: Schema.refine>; alpha: Schema.optionalWith>, { default: () => number; }>; }>; }>; export declare const PaletteStop: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly color: { readonly l: number; readonly c: number; readonly h: number; readonly alpha: number; }; readonly position: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; }, import("effect/ParseResult").ParseError, never>; export type PaletteStop = typeof PaletteStopSchema.Type; /** * Palette Schema * * A complete color palette with exactly 10 stops (100-1000) */ export declare const PaletteSchema: Schema.Struct<{ name: Schema.refine; stops: Schema.refine; color: Schema.Struct<{ l: Schema.refine>; c: Schema.refine>; h: Schema.refine>; alpha: Schema.optionalWith>, { default: () => number; }>; }>; }>>>; }>; export declare const Palette: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly name: string; readonly stops: readonly { readonly color: { readonly l: number; readonly c: number; readonly h: number; readonly alpha: number; }; readonly position: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; }[]; }, import("effect/ParseResult").ParseError, never>; export type Palette = typeof PaletteSchema.Type; /** * Example Palette Input Schema (for loading from JSON) * * Allows hex colors instead of OKLCH for easier input */ export declare const ExamplePaletteInputSchema: Schema.Struct<{ name: Schema.filter; description: Schema.optional; stops: Schema.filter; hex: Schema.refine; }>>>; }>; export declare const ExamplePaletteInput: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly description?: string | undefined; readonly name: string; readonly stops: readonly { readonly hex: string; readonly position: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; }[]; }, import("effect/ParseResult").ParseError, never>; export type ExamplePaletteInput = typeof ExamplePaletteInputSchema.Type; //# sourceMappingURL=palette.d.ts.map