/** * Input specification for BatchTransform mode. * * Single source of truth for BatchTransform (multiple transformations) inputs. * Complete schema defines required fields; Partial derives all-optional for progressive completion. */ import { Schema } from "effect"; /** Complete single transformation within a batch */ declare const BatchTransformItemSchema: Schema.Struct<{ reference: Schema.refine; target: Schema.refine; stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>; export type BatchTransformItem = typeof BatchTransformItemSchema.Type; /** Complete one-to-many transformation within a batch */ declare const BatchTransformManyItemSchema: Schema.Struct<{ reference: Schema.refine; targets: Schema.NonEmptyArray>; stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>; export type BatchTransformManyItem = typeof BatchTransformManyItemSchema.Type; /** Union of transformation types within a batch */ declare const TransformationItemSchema: Schema.Union<[Schema.Struct<{ reference: Schema.refine; target: Schema.refine; stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>, Schema.Struct<{ reference: Schema.refine; targets: Schema.NonEmptyArray>; stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>]>; export type TransformationItem = typeof TransformationItemSchema.Type; /** * Complete BatchTransform input - all fields required. * This is the single source of truth for what BatchTransform needs. */ export declare const BatchTransformCompleteSchema: Schema.Struct<{ /** Array of transformations (each with complete stop) */ transformations: Schema.NonEmptyArray; target: Schema.refine; stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>, Schema.Struct<{ reference: Schema.refine; targets: 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"]>; /** Base name for output palettes */ name: Schema.refine; /** Pattern file path for generation */ pattern: typeof Schema.String; }>; export type BatchTransformComplete = typeof BatchTransformCompleteSchema.Type; /** Partial single transformation - stop is optional */ declare const PartialBatchTransformItemSchema: Schema.Struct<{ reference: Schema.refine; target: Schema.refine; stop: Schema.optional>; }>; export type PartialBatchTransformItem = typeof PartialBatchTransformItemSchema.Type; /** Partial one-to-many transformation - stop is optional */ declare const PartialBatchTransformManyItemSchema: Schema.Struct<{ reference: Schema.refine; targets: Schema.NonEmptyArray>; stop: Schema.optional>; }>; export type PartialBatchTransformManyItem = typeof PartialBatchTransformManyItemSchema.Type; /** Union of partial transformation types */ declare const PartialTransformationItemSchema: Schema.Union<[Schema.Struct<{ reference: Schema.refine; target: Schema.refine; stop: Schema.optional>; }>, Schema.Struct<{ reference: Schema.refine; targets: Schema.NonEmptyArray>; stop: Schema.optional>; }>]>; export type PartialTransformationItem = typeof PartialTransformationItemSchema.Type; /** * Partial BatchTransform input - for progressive completion. * Transformations are required but stops within them can be optional. */ export declare const BatchTransformPartialSchema: Schema.Struct<{ /** Array of transformations (stops may be missing) */ transformations: Schema.NonEmptyArray; target: Schema.refine; stop: Schema.optional>; }>, Schema.Struct<{ reference: Schema.refine; targets: Schema.NonEmptyArray>; stop: Schema.optional>; }>]>>; /** Output color format (optional) */ format: Schema.optional>; /** Base name for output palettes (optional) */ name: Schema.optional>; /** Pattern file path for generation (optional) */ pattern: Schema.optional; }>; export type BatchTransformPartial = typeof BatchTransformPartialSchema.Type; /** Decode unknown value to Complete type */ export declare const decodeBatchTransformComplete: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly name: string; readonly transformations: readonly [{ readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly reference: string; readonly target: string; } | { readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly reference: string; readonly targets: readonly [string, ...string[]]; }, ...({ readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly reference: string; readonly target: string; } | { readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly reference: string; readonly targets: readonly [string, ...string[]]; })[]]; readonly format: "hex" | "rgb" | "oklch" | "oklab"; readonly pattern: string; }, import("effect/ParseResult").ParseError, never>; /** Decode unknown value to Partial type */ export declare const decodeBatchTransformPartial: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly name?: string | undefined; readonly transformations: readonly [{ readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly reference: string; readonly target: string; } | { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly reference: string; readonly targets: readonly [string, ...string[]]; }, ...({ readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly reference: string; readonly target: string; } | { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly reference: string; readonly targets: readonly [string, ...string[]]; })[]]; readonly format?: "hex" | "rgb" | "oklch" | "oklab" | undefined; readonly pattern?: string | undefined; }, import("effect/ParseResult").ParseError, never>; export {}; //# sourceMappingURL=batchTransform.input.d.ts.map