/** * Input specification for BatchPalettes mode. * * Single source of truth for BatchPalettes inputs. * Complete schema defines required fields; Partial derives all-optional for progressive completion. */ import { Schema } from "effect"; import { type PartialColorStopPair } from "../../../../domain/palette/palette.schema.js"; /** * Complete BatchPalettes input - all fields required. * This is the single source of truth for what BatchPalettes needs. */ export declare const BatchPalettesCompleteSchema: Schema.Struct<{ /** Array of color/stop pairs for batch generation */ pairs: Schema.NonEmptyArray; stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>>; /** Output color format */ format: Schema.Literal<["hex", "rgb", "oklch", "oklab"]>; /** Group name for the batch */ name: Schema.refine; /** Pattern file path for generation */ pattern: typeof Schema.String; }>; export type BatchPalettesComplete = typeof BatchPalettesCompleteSchema.Type; export type { PartialColorStopPair }; /** * Partial BatchPalettes input - for progressive completion. * Pairs are required but stops within pairs can be optional. */ export declare const BatchPalettesPartialSchema: Schema.Struct<{ /** Array of color/stop pairs (stops may be missing) */ pairs: Schema.NonEmptyArray, Schema.Struct<{ stop: Schema.optional>; }>>>; /** Output color format (optional) */ format: Schema.optional>; /** Group name for the batch (optional) */ name: Schema.optional>; /** Pattern file path for generation (optional) */ pattern: Schema.optional; }>; export type BatchPalettesPartial = typeof BatchPalettesPartialSchema.Type; /** Decode unknown value to Complete type */ export declare const decodeBatchPalettesComplete: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly name: string; readonly pairs: readonly [{ readonly color: string; readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; }, ...{ readonly color: string; readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; }[]]; readonly format: "hex" | "rgb" | "oklch" | "oklab"; readonly pattern: string; }, import("effect/ParseResult").ParseError, never>; /** Decode unknown value to Partial type */ export declare const decodeBatchPalettesPartial: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly name?: string | undefined; readonly pairs: readonly [{ readonly color: string; } & { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; }, ...({ readonly color: string; } & { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; })[]]; readonly format?: "hex" | "rgb" | "oklch" | "oklab" | undefined; readonly pattern?: string | undefined; }, import("effect/ParseResult").ParseError, never>; //# sourceMappingURL=batchPalettes.input.d.ts.map