import { ExpertType, ExpertOutput, WorkflowOptions, ParallelWorkflowConfig } from '../types/workflow'; /** * Enhanced orchestrator for parallel expert consultation with performance optimization */ export declare class ParallelExpertOrchestrator { private logger; private retryPolicy; private expertResourcePool; private parallelConfigs; private readonly MAX_PARALLEL_EXPERTS; private readonly EXPERT_TIMEOUT_MS; constructor(); /** * Start parallel workflow with intelligent expert orchestration */ startParallelWorkflow(workflowId: string, projectDescription: string, options?: WorkflowOptions & { parallelConfig?: ParallelWorkflowConfig; }): Promise<{ expertResults: Map; parallelExecutionTime: number; failedExperts: ExpertType[]; }>; /** * Execute multiple experts in parallel with sophisticated error handling */ private executeExpertsInParallel; /** * Execute individual expert with comprehensive error handling and caching */ private executeExpertWithResilience; /** * Consult expert using resource pool worker */ private consultExpertWithWorker; /** * Determine which experts to run based on configuration */ private determineExpertsToRun; /** * Create expert worker for resource pool */ private createExpertWorker; /** * Destroy expert worker from resource pool */ private destroyExpertWorker; /** * Generate cache key for expert results */ private generateCacheKey; /** * Simple hash function for cache keys */ private simpleHash; /** * Generate correlation ID for request tracking */ private generateCorrelationId; /** * Cleanup resources */ destroy(): Promise; } export declare const parallelExpertOrchestrator: ParallelExpertOrchestrator; //# sourceMappingURL=parallelOrchestrator.d.ts.map