/**
 * Task Graph Planner
 *
 * Plans and builds task graphs for domain agent dispatch.
 * Uses LLM to generate task dependencies, with fallback heuristics.
 * Handles domain normalization, agent resolution, and mandatory domain injection.
 */
import { Intent } from '../types';
import { AgentTask, SharedAgentContext } from '../types/agentProtocol';
import { ModelRouter } from './modelRouter';
import { DomainAgentRegistry } from '../agents/domain';
import { TaskGraphPlan, AnalysisOptions, ProgressEmitter } from './orchestratorTypes';
export declare function parseTimeRange(input: any, options: AnalysisOptions, sharedContext: SharedAgentContext): {
    start: number | string;
    end: number | string;
} | undefined;
export declare function resolveAgentIdForDomain(domain: string, query: string, agentRegistry: DomainAgentRegistry): string | null;
/**
 * Plan a task graph using LLM.
 * Falls back to heuristic-based graph if LLM fails.
 */
export declare function planTaskGraph(query: string, intent: Intent, sharedContext: SharedAgentContext, informationGaps: string[], options: AnalysisOptions, modelRouter: ModelRouter, agentRegistry: DomainAgentRegistry, emitter: ProgressEmitter, hints?: {
    maxTasks?: number;
    historyContext?: string;
    schemaContext?: string;
}): Promise<TaskGraphPlan>;
/**
 * Convert TaskGraphPlan nodes into concrete AgentTasks for dispatch.
 */
export declare function buildTasksFromGraph(taskGraph: TaskGraphPlan, query: string, intent: Intent, sharedContext: SharedAgentContext, options: AnalysisOptions, agentRegistry: DomainAgentRegistry, emitter: ProgressEmitter, hints?: {
    historyContext?: string;
}): AgentTask[];
//# sourceMappingURL=taskGraphPlanner.d.ts.map