import { z } from "zod"; export declare const WorkflowHandoffSchema: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; export type WorkflowHandoff = z.infer; export declare const WorkflowStepSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; goal: z.ZodOptional; prompt: z.ZodOptional; needs: z.ZodArray; handoff: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; output: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"claim">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"json">; fields: z.ZodArray; description: z.ZodString; required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>], "kind">; checks: z.ZodArray; command: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"judge">; rubric: z.ZodString; model: z.ZodOptional; }, z.core.$strip>], "kind">>; context: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; maxSpendUsd: z.ZodOptional; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; model: z.ZodOptional; actsAs: z.ZodOptional; }, z.core.$strip>; export type WorkflowStep = z.infer; export declare const WorkflowGateSchema: z.ZodObject<{ step: z.ZodString; field: z.ZodString; pass: z.ZodArray; dailyMax: z.ZodOptional; }, z.core.$strip>; export type WorkflowGate = z.infer; export declare const GATE_DAILY_MAX_DEFAULT = 20; export declare const GuardOutcomeSchema: z.ZodEnum<{ blocked: "blocked"; fail: "fail"; pass: "pass"; }>; export type GuardOutcome = z.infer; export declare const GateVerdictSchema: z.ZodObject<{ outcome: z.ZodEnum<{ blocked: "blocked"; fail: "fail"; pass: "pass"; }>; reason: z.ZodString; runId: z.ZodString; value: z.ZodOptional; }, z.core.$strip>; export type GateVerdict = z.infer; export declare const WorkflowSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; steps: z.ZodArray; prompt: z.ZodOptional; needs: z.ZodArray; handoff: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; output: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"claim">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"json">; fields: z.ZodArray; description: z.ZodString; required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>], "kind">; checks: z.ZodArray; command: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"judge">; rubric: z.ZodString; model: z.ZodOptional; }, z.core.$strip>], "kind">>; context: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; maxSpendUsd: z.ZodOptional; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; model: z.ZodOptional; actsAs: z.ZodOptional; }, z.core.$strip>>; gate: z.ZodOptional; dailyMax: z.ZodOptional; }, z.core.$strip>>; maxParallel: z.ZodNumber; }, z.core.$strip>; export type Workflow = z.infer; export declare const WorkflowStepStateSchema: z.ZodEnum<{ done: "done"; failed: "failed"; pending: "pending"; running: "running"; skipped: "skipped"; stopped: "stopped"; }>; export type WorkflowStepState = z.infer; export declare const WorkflowStepRunSchema: z.ZodObject<{ stepId: z.ZodString; state: z.ZodEnum<{ done: "done"; failed: "failed"; pending: "pending"; running: "running"; skipped: "skipped"; stopped: "stopped"; }>; conversationId: z.ZodString; startedAt: z.ZodOptional; endedAt: z.ZodOptional; iterations: z.ZodNumber; costUsd: z.ZodOptional; loopState: z.ZodOptional>; detail: z.ZodOptional; document: z.ZodOptional; data: z.ZodOptional>; }, z.core.$strip>>; report: z.ZodOptional; reportPath: z.ZodOptional; }, z.core.$strip>; export type WorkflowStepRun = z.infer; export declare const WorkflowRunStateSchema: z.ZodEnum<{ done: "done"; error: "error"; failed: "failed"; overspent: "overspent"; running: "running"; stopped: "stopped"; }>; export type WorkflowRunState = z.infer; export declare const WorkflowRunSchema: z.ZodObject<{ runId: z.ZodString; workflow: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; steps: z.ZodArray; prompt: z.ZodOptional; needs: z.ZodArray; handoff: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; output: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"claim">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"json">; fields: z.ZodArray; description: z.ZodString; required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>], "kind">; checks: z.ZodArray; command: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"judge">; rubric: z.ZodString; model: z.ZodOptional; }, z.core.$strip>], "kind">>; context: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; maxSpendUsd: z.ZodOptional; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; model: z.ZodOptional; actsAs: z.ZodOptional; }, z.core.$strip>>; gate: z.ZodOptional; dailyMax: z.ZodOptional; }, z.core.$strip>>; maxParallel: z.ZodNumber; }, z.core.$strip>; repos: z.ZodArray>; request: z.ZodOptional; state: z.ZodEnum<{ done: "done"; error: "error"; failed: "failed"; overspent: "overspent"; running: "running"; stopped: "stopped"; }>; startedAt: z.ZodNumber; endedAt: z.ZodOptional; resumed: z.ZodNumber; detail: z.ZodOptional; steps: z.ZodArray; conversationId: z.ZodString; startedAt: z.ZodOptional; endedAt: z.ZodOptional; iterations: z.ZodNumber; costUsd: z.ZodOptional; loopState: z.ZodOptional>; detail: z.ZodOptional; document: z.ZodOptional; data: z.ZodOptional>; }, z.core.$strip>>; report: z.ZodOptional; reportPath: z.ZodOptional; }, z.core.$strip>>; archivedAt: z.ZodOptional; }, z.core.$strip>; export type WorkflowRun = z.infer; export declare const WorkflowSavedSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; steps: z.ZodArray; prompt: z.ZodOptional; needs: z.ZodArray; handoff: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; output: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"claim">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"json">; fields: z.ZodArray; description: z.ZodString; required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>], "kind">; checks: z.ZodArray; command: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"judge">; rubric: z.ZodString; model: z.ZodOptional; }, z.core.$strip>], "kind">>; context: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; maxSpendUsd: z.ZodOptional; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; model: z.ZodOptional; actsAs: z.ZodOptional; }, z.core.$strip>>; gate: z.ZodOptional; dailyMax: z.ZodOptional; }, z.core.$strip>>; maxParallel: z.ZodNumber; gateToken: z.ZodOptional; }, z.core.$strip>; export type WorkflowSaved = z.infer; export declare const WorkflowSummarySchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; steps: z.ZodArray; prompt: z.ZodOptional; needs: z.ZodArray; handoff: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; output: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"claim">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"json">; fields: z.ZodArray; description: z.ZodString; required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>], "kind">; checks: z.ZodArray; command: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"judge">; rubric: z.ZodString; model: z.ZodOptional; }, z.core.$strip>], "kind">>; context: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; maxSpendUsd: z.ZodOptional; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; model: z.ZodOptional; actsAs: z.ZodOptional; }, z.core.$strip>>; gate: z.ZodOptional; dailyMax: z.ZodOptional; }, z.core.$strip>>; maxParallel: z.ZodNumber; runs: z.ZodArray; steps: z.ZodArray; prompt: z.ZodOptional; needs: z.ZodArray; handoff: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; output: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"claim">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"json">; fields: z.ZodArray; description: z.ZodString; required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>], "kind">; checks: z.ZodArray; command: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"judge">; rubric: z.ZodString; model: z.ZodOptional; }, z.core.$strip>], "kind">>; context: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; maxSpendUsd: z.ZodOptional; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; model: z.ZodOptional; actsAs: z.ZodOptional; }, z.core.$strip>>; gate: z.ZodOptional; dailyMax: z.ZodOptional; }, z.core.$strip>>; maxParallel: z.ZodNumber; }, z.core.$strip>; repos: z.ZodArray>; request: z.ZodOptional; state: z.ZodEnum<{ done: "done"; error: "error"; failed: "failed"; overspent: "overspent"; running: "running"; stopped: "stopped"; }>; startedAt: z.ZodNumber; endedAt: z.ZodOptional; resumed: z.ZodNumber; detail: z.ZodOptional; steps: z.ZodArray; conversationId: z.ZodString; startedAt: z.ZodOptional; endedAt: z.ZodOptional; iterations: z.ZodNumber; costUsd: z.ZodOptional; loopState: z.ZodOptional>; detail: z.ZodOptional; document: z.ZodOptional; data: z.ZodOptional>; }, z.core.$strip>>; report: z.ZodOptional; reportPath: z.ZodOptional; }, z.core.$strip>>; archivedAt: z.ZodOptional; }, z.core.$strip>>; gateToken: z.ZodOptional; }, z.core.$strip>; export type WorkflowSummary = z.infer; export declare const WorkflowsListSchema: z.ZodObject<{ workflows: z.ZodArray; steps: z.ZodArray; prompt: z.ZodOptional; needs: z.ZodArray; handoff: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; output: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"claim">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"json">; fields: z.ZodArray; description: z.ZodString; required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>], "kind">; checks: z.ZodArray; command: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"judge">; rubric: z.ZodString; model: z.ZodOptional; }, z.core.$strip>], "kind">>; context: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; maxSpendUsd: z.ZodOptional; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; model: z.ZodOptional; actsAs: z.ZodOptional; }, z.core.$strip>>; gate: z.ZodOptional; dailyMax: z.ZodOptional; }, z.core.$strip>>; maxParallel: z.ZodNumber; runs: z.ZodArray; steps: z.ZodArray; prompt: z.ZodOptional; needs: z.ZodArray; handoff: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; output: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"claim">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"json">; fields: z.ZodArray; description: z.ZodString; required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>], "kind">; checks: z.ZodArray; command: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"judge">; rubric: z.ZodString; model: z.ZodOptional; }, z.core.$strip>], "kind">>; context: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; maxSpendUsd: z.ZodOptional; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; model: z.ZodOptional; actsAs: z.ZodOptional; }, z.core.$strip>>; gate: z.ZodOptional; dailyMax: z.ZodOptional; }, z.core.$strip>>; maxParallel: z.ZodNumber; }, z.core.$strip>; repos: z.ZodArray>; request: z.ZodOptional; state: z.ZodEnum<{ done: "done"; error: "error"; failed: "failed"; overspent: "overspent"; running: "running"; stopped: "stopped"; }>; startedAt: z.ZodNumber; endedAt: z.ZodOptional; resumed: z.ZodNumber; detail: z.ZodOptional; steps: z.ZodArray; conversationId: z.ZodString; startedAt: z.ZodOptional; endedAt: z.ZodOptional; iterations: z.ZodNumber; costUsd: z.ZodOptional; loopState: z.ZodOptional>; detail: z.ZodOptional; document: z.ZodOptional; data: z.ZodOptional>; }, z.core.$strip>>; report: z.ZodOptional; reportPath: z.ZodOptional; }, z.core.$strip>>; archivedAt: z.ZodOptional; }, z.core.$strip>>; gateToken: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const WorkflowRunsListSchema: z.ZodObject<{ runs: z.ZodArray; steps: z.ZodArray; prompt: z.ZodOptional; needs: z.ZodArray; handoff: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; output: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"claim">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"json">; fields: z.ZodArray; description: z.ZodString; required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>], "kind">; checks: z.ZodArray; command: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"judge">; rubric: z.ZodString; model: z.ZodOptional; }, z.core.$strip>], "kind">>; context: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; maxSpendUsd: z.ZodOptional; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; model: z.ZodOptional; actsAs: z.ZodOptional; }, z.core.$strip>>; gate: z.ZodOptional; dailyMax: z.ZodOptional; }, z.core.$strip>>; maxParallel: z.ZodNumber; }, z.core.$strip>; repos: z.ZodArray>; request: z.ZodOptional; state: z.ZodEnum<{ done: "done"; error: "error"; failed: "failed"; overspent: "overspent"; running: "running"; stopped: "stopped"; }>; startedAt: z.ZodNumber; endedAt: z.ZodOptional; resumed: z.ZodNumber; detail: z.ZodOptional; steps: z.ZodArray; conversationId: z.ZodString; startedAt: z.ZodOptional; endedAt: z.ZodOptional; iterations: z.ZodNumber; costUsd: z.ZodOptional; loopState: z.ZodOptional>; detail: z.ZodOptional; document: z.ZodOptional; data: z.ZodOptional>; }, z.core.$strip>>; report: z.ZodOptional; reportPath: z.ZodOptional; }, z.core.$strip>>; archivedAt: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const WorkflowIdParamSchema: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; export declare const WorkflowRunIdParamSchema: z.ZodObject<{ runId: z.ZodString; }, z.core.$strip>; export declare const WorkflowRunStartSchema: z.ZodObject<{ id: z.ZodString; request: z.ZodOptional; }, z.core.$strip>; export declare const WorkflowSaveSchema: z.ZodObject<{ workflow: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; steps: z.ZodArray; prompt: z.ZodOptional; needs: z.ZodArray; handoff: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; output: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"claim">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"json">; fields: z.ZodArray; description: z.ZodString; required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>], "kind">; checks: z.ZodArray; command: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"judge">; rubric: z.ZodString; model: z.ZodOptional; }, z.core.$strip>], "kind">>; context: z.ZodEnum<{ continue: "continue"; fresh: "fresh"; }>; maxSpendUsd: z.ZodOptional; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; model: z.ZodOptional; actsAs: z.ZodOptional; }, z.core.$strip>>; gate: z.ZodOptional; dailyMax: z.ZodOptional; }, z.core.$strip>>; maxParallel: z.ZodNumber; }, z.core.$strip>; create: z.ZodBoolean; }, z.core.$strip>; //# sourceMappingURL=workflows.d.ts.map