import { type JsonValue, type WorkflowNodeOutput, type WorkflowOutputSchema } from './model.js'; import type { WorkflowFanoutChildSummary } from './runtime.js'; type WorkflowOutputCode = 'multiple-blocks' | 'invalid-json' | 'invalid-shape' | 'missing-field' | 'type-mismatch' | 'too-large'; export declare class WorkflowOutputError extends Error { readonly code: WorkflowOutputCode; constructor(code: WorkflowOutputCode, message?: string); } export declare function validateSubmittedFields(fields: unknown, schema?: WorkflowOutputSchema): Record; export declare function parseWorkflowOutput(finalText: string, schema?: WorkflowOutputSchema): WorkflowNodeOutput; /** The other way a node output comes to exist: a Workflow Call node joins its * children into one, so a downstream Condition can route on the batch. */ export declare function fanoutOutput(children: readonly WorkflowFanoutChildSummary[]): WorkflowNodeOutput; export {}; //# sourceMappingURL=output.d.ts.map