import { WorkflowResult } from '../../services/workflows/workflowExecutor.js'; import { UnifiedCommandContext } from './unified-command-gateway.js'; import { RecognizedIntent } from '../../tools/vibe-task-manager/types/nl.js'; import { OpenRouterConfig } from '../../types/workflow.js'; export interface WorkflowDetection { shouldTriggerWorkflow: boolean; workflowName?: string; workflowType: 'simple' | 'compound' | 'sequential' | 'parallel'; nextSteps?: string[]; estimatedDuration?: number; requiredTools?: string[]; } export interface MultiToolWorkflowResult extends WorkflowResult { triggeredWorkflows: string[]; parallelExecutions: number; toolsUsed: string[]; crossToolContext: Record; } export interface ToolCompatibilityResult { compatible: boolean; confidence: number; suggestions: string[]; alternativeTools?: string[]; } export declare class MultiToolWorkflowEngine { private config; private activeWorkflows; private readonly workflowPatterns; constructor(config: OpenRouterConfig); analyzeWorkflowPotential(intent: RecognizedIntent, params: Record, selectedTool: string, context: UnifiedCommandContext): Promise; executeMultiToolWorkflow(workflowName: string, params: Record, context: UnifiedCommandContext): Promise; checkToolCompatibility(toolName: string, workflowName: string, context: UnifiedCommandContext): Promise; private executeSequentialWorkflow; private executeParallelWorkflow; private executeCompoundWorkflow; private executeToolWithErrorHandling; private prepareToolParams; private extractReusableData; private detectCompoundRequest; private detectSequentialOpportunity; private calculateToolCompatibility; private semanticMatch; private generateNextSteps; private registerActiveWorkflow; private unregisterActiveWorkflow; private updateContextWithResults; } //# sourceMappingURL=multi-tool-workflow.d.ts.map