/**
 * SmartPerfetto Planner Agent
 *
 * 规划专家，负责：
 * 1. 理解用户意图
 * 2. 分解分析任务
 * 3. 规划执行顺序
 * 4. 估算资源需求
 */
import { SubAgentConfig, SubAgentContext, SubAgentResult, Intent, AnalysisPlan, PipelineStage, Evaluation } from '../types';
import { BaseSubAgent } from './base/baseSubAgent';
import { ModelRouter } from '../core/modelRouter';
import { EnhancedSessionContext } from '../context/enhancedSessionContext';
/**
 * 规划专家实现
 */
export declare class PlannerAgent extends BaseSubAgent {
    constructor(modelRouter: ModelRouter, config?: Partial<SubAgentConfig>);
    protected buildSystemPrompt(_context: SubAgentContext): string;
    protected buildTaskPrompt(context: SubAgentContext): string;
    protected parseResponse(response: string, _context: SubAgentContext): SubAgentResult;
    /**
     * 理解用户意图
     * Phase 1.3: Now accepts sessionContext for multi-turn dialogue awareness
     */
    understandIntent(query: string, context: SubAgentContext & {
        sessionContext?: EnhancedSessionContext;
    }): Promise<Intent>;
    /**
     * 创建分析计划
     * Phase 1.2: Now accepts previousEvaluation for feedback-driven refinement
     */
    createPlan(intent: Intent, context: SubAgentContext, previousEvaluation?: Evaluation): Promise<AnalysisPlan>;
    /**
     * 从查询中提取分析方面
     */
    private extractAspects;
    /**
     * 验证并丰富计划
     */
    private validateAndEnrichPlan;
    /**
     * 生成默认计划
     */
    private generateDefaultPlan;
    /**
     * 生成默认任务
     */
    private generateDefaultTasks;
    /**
     * 执行规划（简化版，不使用 Think-Act 循环）
     */
    execute(stage: PipelineStage, context: SubAgentContext): Promise<SubAgentResult>;
}
export default PlannerAgent;
//# sourceMappingURL=plannerAgent.d.ts.map