/** * BatchPalettes workflow - completes partial input to full input. * * Takes a BatchPalettesPartial (from CLI/parsed input) and prompts for any missing fields, * producing a validated BatchPalettesComplete that can be passed to the executor. */ import { Array as Arr, Effect, Option as O } from "effect"; import { type StopPosition } from "../../../../domain/palette/palette.schema.js"; import { PromptService } from "../../../../services/PromptService/index.js"; import { type BatchPalettesComplete, type BatchPalettesPartial } from "../inputSpecs/batchPalettes.input.js"; import { type WorkflowCompletionError } from "./shared/index.js"; /** * Complete a partial BatchPalettes input by prompting for missing fields. * * - Prompts for missing stops in pairs * - Prompts for format if missing * - Prompts for name if missing */ export declare const completeBatchPalettesInput: (partial: BatchPalettesPartial, patternFromContext: string, defaultName: string) => Effect.Effect; /** * Build a partial input from parsed pairs and CLI options. * Uses type-safe Schema refinement instead of unsafe type casts. */ export declare const buildBatchPartialFromPairs: (pairs: Arr.NonEmptyReadonlyArray<{ readonly color: string; readonly stop: StopPosition | undefined; }>, options: { readonly formatOpt: O.Option; readonly nameOpt: O.Option; readonly patternOpt: O.Option; }) => BatchPalettesPartial; //# sourceMappingURL=batch.workflow.d.ts.map