/**
 * Task Graph Executor
 *
 * Executes a set of AgentTasks respecting dependency ordering.
 * Dispatches independent tasks in parallel, handles deadlock fallback,
 * and emits DataEnvelopes from agent tool results.
 *
 * Phase 2 addition: CircuitBreaker integration for failure tracking.
 */
import { AgentTask, AgentResponse } from '../types/agentProtocol';
import { AgentMessageBus } from '../communication';
import { CircuitBreaker } from './circuitBreaker';
import { ProgressEmitter } from './orchestratorTypes';
/**
 * Execute tasks respecting dependency ordering.
 * Tasks with satisfied dependencies are dispatched in parallel.
 * If a deadlock is detected (no ready tasks but pending remain), all remaining are dispatched.
 */
export declare function executeTaskGraph(tasks: AgentTask[], messageBus: AgentMessageBus, emitter: ProgressEmitter, circuitBreaker?: CircuitBreaker): Promise<AgentResponse[]>;
import { EmittedEnvelopeRegistry } from './emittedEnvelopeRegistry';
/**
 * Emit DataEnvelopes from agent responses via SSE.
 * Filters out empty tables and duplicates (if registry provided).
 *
 * @param responses - Agent responses containing DataEnvelopes
 * @param emitter - Progress emitter for SSE
 * @param registry - Optional registry for session-level deduplication
 */
export declare function emitDataEnvelopes(responses: AgentResponse[], emitter: ProgressEmitter, registry?: EmittedEnvelopeRegistry): void;
//# sourceMappingURL=taskGraphExecutor.d.ts.map