interface AgentOutput {
    output?: any;
    completed: boolean;
    error?: string;
    executionTime?: number;
    retryCount?: number;
    startTime?: number;
}
interface Context {
    specId: string;
    featurePrompt: string;
    spec: any;
    agents: Record<string, AgentOutput>;
    finalBundle: any;
    log: string[];
    metadata: {
        createdAt: string;
        lastUpdated: string;
        version: string;
    };
}

interface OrchestratorOptions {
    feature: string;
    voice?: boolean;
    resume?: string;
    maxConcurrent?: number;
    onStop?: (log: string[]) => void;
    onProgress?: (status: {
        completed: number;
        failed: number;
        running: number;
    }) => void;
}
declare const runOrchestrator: (options: OrchestratorOptions) => Promise<Context>;

export { runOrchestrator };
