/** * Config workflow state machine types. * Extracted from types.ts to maintain the 500 LOC module limit. * * @module config-workflow/workflow-types */ export declare const WORKFLOW_TURNS: readonly ["discovery", "investigate", "collect", "proposal", "validate", "compile", "test", "save"]; export type WorkflowTurn = (typeof WORKFLOW_TURNS)[number]; export type WorkflowTurnStatus = "pending" | "in_progress" | "complete" | "skipped"; export type WorkflowTurnRecord = { status: WorkflowTurnStatus; output: Record | null; completedAt?: number; }; export type ConfigWorkflowState = { id: string; type: "agent-config" | "command-config" | "skill-config" | "batch-config"; currentTurn: number; turns: Record; targetPrimitives: Array<{ type: "agent" | "command" | "skill"; name: string; }>; scope: "project" | "global"; mode: "create" | "modify" | "batch-modify"; startedAt: number; updatedAt: number; }; export type WorkflowResumeResult = { workflowId: string; currentTurn: number; currentTurnName: WorkflowTurn; completedTurns: number; totalTurns: number; lastOutput: Record | null; canContinue: boolean; }; //# sourceMappingURL=workflow-types.d.ts.map