/** * Blocked state handler for workflow execution * * Handles the case when an agent returns a blocked status, * requesting user input to continue. */ import type { WorkflowStep, AgentResponse } from '../../models/types.js'; import type { WorkflowEngineOptions } from '../types.js'; /** * Result of handling a blocked state. */ export type BlockedHandlerResult = { readonly kind: 'unavailable' | 'cancelled'; } | { readonly kind: 'continued'; readonly userInput: string; }; /** * Handle blocked status by requesting user input. * * @param step - The step that is blocked * @param response - The blocked response from the agent * @param options - Workflow engine options containing callbacks * @returns Result indicating whether to continue and any user input */ export declare function handleBlocked(step: WorkflowStep, response: AgentResponse, options: WorkflowEngineOptions): Promise; //# sourceMappingURL=blocked-handler.d.ts.map