/**
 * Decision Tree Executor
 *
 * 执行决策树，根据条件分支动态选择分析路径
 */
import { EventEmitter } from 'events';
import { DecisionTree, DecisionContext, DecisionTreeExecutorConfig, DecisionTreeExecutionResult } from './types';
/**
 * 决策树执行器
 */
export declare class DecisionTreeExecutor extends EventEmitter {
    private config;
    private skillExecutor;
    constructor(skillExecutor: SkillExecutorInterface, config?: Partial<DecisionTreeExecutorConfig>);
    /**
     * 执行决策树
     */
    execute(tree: DecisionTree, context: DecisionContext): Promise<DecisionTreeExecutionResult>;
    /**
     * 执行单个节点
     */
    private executeNode;
    /**
     * 执行 CHECK 节点
     */
    private executeCheckNode;
    /**
     * 执行 ACTION 节点
     */
    private executeActionNode;
    /**
     * 执行 BRANCH 节点 (多条件分支)
     */
    private executeBranchNode;
    /**
     * 执行 CONCLUDE 节点
     */
    private executeConcludeNode;
    /**
     * 日志输出
     */
    private log;
}
/**
 * Skill 执行器接口
 * 用于解耦决策树和实际的 Skill 执行
 */
export interface SkillExecutorInterface {
    execute(skillId: string, params: Record<string, any>, context: DecisionContext): Promise<any>;
}
/**
 * 创建决策树执行器
 */
export declare function createDecisionTreeExecutor(skillExecutor: SkillExecutorInterface, config?: Partial<DecisionTreeExecutorConfig>): DecisionTreeExecutor;
//# sourceMappingURL=decisionTreeExecutor.d.ts.map