import type { IProtocol } from './protocols/IProtocol.ts'; export type StepType = 'agent' | 'human-in-loop' | 'parallel' | 'goal' | 'tool'; export interface WorkflowStep { name: string; type: StepType; protocol?: IProtocol; input?: unknown; agentName?: string; task?: string; subSteps?: WorkflowStep[]; } export interface WorkflowContext { executionId: string; artifacts: Map; stepResults: Map; metadata: Record; } export interface WorkflowDefinition { name: string; description: string; steps: WorkflowStep[]; } //# sourceMappingURL=types.d.ts.map