/** * Transformation mode handler * * Applies optical appearance transformations and generates palettes. */ import { Effect, Option as O } from "effect"; import { ConfigService } from "../../../../../services/ConfigService.js"; import type { BatchTransformComplete } from "../../inputSpecs/batchTransform.input.js"; import type { ManyTransformComplete } from "../../inputSpecs/manyTransform.input.js"; import type { SingleTransformComplete } from "../../inputSpecs/singleTransform.input.js"; type TransformExecuteOptions = { readonly exportOpt: O.Option; readonly exportPath: O.Option; }; /** * Execute single transformation with complete, validated input. * * This is the new workflow-based API that receives fully validated input. * No prompting or validation happens here - just pure execution. */ export declare const executeSingleTransform: (input: SingleTransformComplete, options: TransformExecuteOptions) => Effect.Effect<{ readonly name: string; readonly stops: readonly ({ readonly position: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly color: { readonly l: number; readonly c: number; readonly h: number; readonly alpha: number; }; } & { readonly value: string; })[]; readonly inputColor: string; readonly anchorStop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly outputFormat: "hex" | "rgb" | "oklch" | "oklab"; }, import("effect/ParseResult").ParseError | import("../../../../../services/PromptService/PromptService.js").CancelledError | import("../../../../../domain/color/color.js").ColorError | import("../../../../../io/patternLoader.js").PatternLoadError | import("../../../../../usecases/generatePalette.js").GeneratePaletteError | import("../../../../../io/exporter.js").ExportError, import("../../../../../services/ConsoleService/ConsoleService.js").ConsoleService | import("../../../../../services/PromptService/PromptService.js").PromptService | import("@effect/platform/FileSystem").FileSystem | import("@effect/platform/Path").Path>; /** * Execute one-to-many transformation with complete, validated input. * * Applies a single reference color's optical appearance to multiple target hues. * Each target receives the same lightness and chroma, varying only by hue. */ export declare const executeManyTransform: (input: ManyTransformComplete, options: TransformExecuteOptions) => Effect.Effect<[{ readonly name: string; readonly stops: readonly ({ readonly position: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly color: { readonly l: number; readonly c: number; readonly h: number; readonly alpha: number; }; } & { readonly value: string; })[]; readonly inputColor: string; readonly anchorStop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly outputFormat: "hex" | "rgb" | "oklch" | "oklab"; }, ...{ readonly name: string; readonly stops: readonly ({ readonly position: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly color: { readonly l: number; readonly c: number; readonly h: number; readonly alpha: number; }; } & { readonly value: string; })[]; readonly inputColor: string; readonly anchorStop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly outputFormat: "hex" | "rgb" | "oklch" | "oklab"; }[]], import("effect/ParseResult").ParseError | import("../../../../../services/PromptService/PromptService.js").CancelledError | import("../../../../../domain/color/color.js").ColorError | import("../../../../../io/patternLoader.js").PatternLoadError | import("../../../../../usecases/generatePalette.js").GeneratePaletteError | import("../../../../../io/exporter.js").ExportError, ConfigService | import("../../../../../services/ConsoleService/ConsoleService.js").ConsoleService | import("../../../../../services/PromptService/PromptService.js").PromptService | import("@effect/platform/FileSystem").FileSystem | import("@effect/platform/Path").Path>; /** * Execute batch transformations with complete, validated input. * * Processes multiple transformation inputs, each potentially being a single * or one-to-many transformation. Results are flattened into a single array. */ export declare const executeBatchTransform: (input: BatchTransformComplete, options: TransformExecuteOptions) => Effect.Effect<{ readonly name: string; readonly stops: readonly ({ readonly position: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly color: { readonly l: number; readonly c: number; readonly h: number; readonly alpha: number; }; } & { readonly value: string; })[]; readonly inputColor: string; readonly anchorStop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly outputFormat: "hex" | "rgb" | "oklch" | "oklab"; }[], import("effect/ParseResult").ParseError | import("../../../../../services/PromptService/PromptService.js").CancelledError | import("../../../../../domain/color/color.js").ColorError | import("../../../../../io/patternLoader.js").PatternLoadError | import("../../../../../usecases/generatePalette.js").GeneratePaletteError | import("../../../../../io/exporter.js").ExportError, ConfigService | import("../../../../../services/ConsoleService/ConsoleService.js").ConsoleService | import("../../../../../services/PromptService/PromptService.js").PromptService | import("@effect/platform/FileSystem").FileSystem | import("@effect/platform/Path").Path>; export {}; //# sourceMappingURL=executor.d.ts.map