import { EdenAgent } from './agent.js'; export interface SubTask { id: string; description: string; expected_deliverable: string; status: 'pending' | 'running' | 'completed' | 'failed'; dependencies: string[]; retryCount: number; maxRetries: number; result?: string; error?: string; prompt: string; } export interface OrchestratedTask { id: string; prompt: string; subtasks: SubTask[]; status: 'planning' | 'running' | 'completed' | 'failed'; createdAt: Date; completedAt?: Date; } export declare function chatCompletion(messages: { role: string; content: string; }[], model?: string): Promise; export declare class TaskOrchestrator { private agent?; private cwd; private model; private currentTask; private currentSubtaskIndex; private jobProducer; constructor(agentOrModel: EdenAgent | string, cwd?: string); initialize(): Promise; planTask(prompt: string): Promise; executeAll(): Promise; execute(task: { id: string; prompt: string; model?: string; cwd: string; }): Promise<{ success: boolean; result: string; }>; private planSubtasks; loadTask(taskId: string): Promise; getProgress(): { completed: number; total: number; percentage: number; }; getCurrentTask(): OrchestratedTask | null; executeNextSubtask(): Promise; } //# sourceMappingURL=orchestrator.d.ts.map