/** * Validates the structural integrity of a workflow flow (array of nodes). * * Throws an `Error` with a human-readable message on the first violation found. * * Checks performed: * 1. Every node has a non-empty string `id` * 2. Node IDs are unique within the flow * 3. Every node `type` is a recognized workflow node type * 4. Per-type required fields: * - custom-model → modelId * - workflow → workflowId * - logic → logicType * - for-each → loopBodyNodeIds (non-empty) OR count (>0) * 5. Cross-references all point to node IDs that exist in the flow: * - dependsOn entries * - input ref.node (excluding "workflow" which is a reserved keyword) * - input ref.conditional entries * - loopBodyNodeIds entries */ export declare function validateWorkflowFlow(flow: unknown[]): void; //# sourceMappingURL=workflow_validator.d.ts.map