/** * Transformation mode handler * * Applies optical appearance transformations and generates palettes */ import { Effect, Option as O } from "effect"; import type { TransformationBatch, TransformationInput } from "../../../../../schemas/transformation.js"; /** * Handle single transformation: ref>target::stop */ export declare const handleSingleTransformation: ({ exportOpt, exportPath, formatOpt, input, nameOpt, pattern }: { exportOpt: O.Option; exportPath: O.Option; formatOpt: O.Option; input: TransformationInput; isInteractive: boolean; nameOpt: O.Option; pattern: string; }) => Effect.Effect<{ readonly name: string; readonly inputColor: string; readonly anchorStop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly outputFormat: "hex" | "rgb" | "oklch" | "oklab"; readonly stops: readonly ({ readonly value: string; } & { 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; }; })[]; }, import("effect/ParseResult").ParseError | import("../../../../../services/ExportService.js").ExportError | import("../../../../../services/PaletteService.js").PaletteGenerationError | import("../../../../../domain/color/errors.js").ColorConversionError | import("../../../../../domain/color/errors.js").ColorParseError | import("../../../../../domain/color/errors.js").ColorTransformationError, import("../../../../../services/ExportService.js").ExportService | import("../../../../../services/PaletteService.js").PaletteService>; /** * Handle one-to-many transformation: ref>(t1,t2,t3)::stop */ export declare const handleOneToManyTransformation: ({ exportOpt, exportPath, formatOpt, input, nameOpt, pattern }: { exportOpt: O.Option; exportPath: O.Option; formatOpt: O.Option; input: TransformationBatch; isInteractive: boolean; nameOpt: O.Option; pattern: string; }) => Effect.Effect<{ readonly name: string; readonly inputColor: string; readonly anchorStop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly outputFormat: "hex" | "rgb" | "oklch" | "oklab"; readonly stops: readonly ({ readonly value: string; } & { 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; }; })[]; }[], import("effect/ParseResult").ParseError | import("../../../../../services/ExportService.js").ExportError | import("../../../../../services/PaletteService.js").PaletteGenerationError | import("../../../../../domain/color/errors.js").ColorConversionError | import("../../../../../domain/color/errors.js").ColorParseError | import("../../../../../domain/color/errors.js").ColorTransformationError, import("../../../../../services/ExportService.js").ExportService | import("../../../../../services/PaletteService.js").PaletteService>; /** * Handle batch transformations (multiple lines) */ export declare const handleBatchTransformations: ({ exportOpt, exportPath, formatOpt, inputs, isInteractive, nameOpt, pattern }: { exportOpt: O.Option; exportPath: O.Option; formatOpt: O.Option; inputs: Array; isInteractive: boolean; nameOpt: O.Option; pattern: string; }) => Effect.Effect<{ readonly name: string; readonly inputColor: string; readonly anchorStop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly outputFormat: "hex" | "rgb" | "oklch" | "oklab"; readonly stops: readonly ({ readonly value: string; } & { 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; }; })[]; }[], import("effect/ParseResult").ParseError | import("../../../../../services/ExportService.js").ExportError | import("../../../../../services/PaletteService.js").PaletteGenerationError | import("../../../../../domain/color/errors.js").ColorConversionError | import("../../../../../domain/color/errors.js").ColorParseError | import("../../../../../domain/color/errors.js").ColorTransformationError, import("../../../../../services/ExportService.js").ExportService | import("../../../../../services/PaletteService.js").PaletteService>; //# sourceMappingURL=executor.d.ts.map