"use strict";
// SPDX-License-Identifier: AGPL-3.0-or-later
// Copyright (C) 2024-2026 Gracker (Chris)
// This file is part of SmartPerfetto. See LICENSE for details.
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.decisionTreeRegistry = exports.launchDecisionTree = exports.scrollingDecisionTree = exports.createDecisionTreeStageExecutor = exports.DecisionTreeStageExecutor = exports.createSkillExecutorAdapter = exports.SkillExecutorAdapter = exports.createDecisionTreeExecutor = exports.DecisionTreeExecutor = void 0;
exports.getDecisionTree = getDecisionTree;
exports.listDecisionTrees = listDecisionTrees;
/**
 * Decision Tree Module
 *
 * Exports all decision tree components for expert-level performance analysis.
 * The decision tree system enables conditional branching based on analysis results,
 * allowing the agent to make expert-like decisions about root cause analysis.
 */
// Core types
__exportStar(require("./types"), exports);
// Executor
var decisionTreeExecutor_1 = require("./decisionTreeExecutor");
Object.defineProperty(exports, "DecisionTreeExecutor", { enumerable: true, get: function () { return decisionTreeExecutor_1.DecisionTreeExecutor; } });
Object.defineProperty(exports, "createDecisionTreeExecutor", { enumerable: true, get: function () { return decisionTreeExecutor_1.createDecisionTreeExecutor; } });
// Skill Adapter
var skillExecutorAdapter_1 = require("./skillExecutorAdapter");
Object.defineProperty(exports, "SkillExecutorAdapter", { enumerable: true, get: function () { return skillExecutorAdapter_1.SkillExecutorAdapter; } });
Object.defineProperty(exports, "createSkillExecutorAdapter", { enumerable: true, get: function () { return skillExecutorAdapter_1.createSkillExecutorAdapter; } });
// Stage Executor (for PipelineExecutor integration)
var decisionTreeStageExecutor_1 = require("./decisionTreeStageExecutor");
Object.defineProperty(exports, "DecisionTreeStageExecutor", { enumerable: true, get: function () { return decisionTreeStageExecutor_1.DecisionTreeStageExecutor; } });
Object.defineProperty(exports, "createDecisionTreeStageExecutor", { enumerable: true, get: function () { return decisionTreeStageExecutor_1.createDecisionTreeStageExecutor; } });
// Decision Trees
var scrollingDecisionTree_1 = require("./trees/scrollingDecisionTree");
Object.defineProperty(exports, "scrollingDecisionTree", { enumerable: true, get: function () { return scrollingDecisionTree_1.scrollingDecisionTree; } });
var launchDecisionTree_1 = require("./trees/launchDecisionTree");
Object.defineProperty(exports, "launchDecisionTree", { enumerable: true, get: function () { return launchDecisionTree_1.launchDecisionTree; } });
const scrollingDecisionTree_2 = require("./trees/scrollingDecisionTree");
const launchDecisionTree_2 = require("./trees/launchDecisionTree");
/**
 * Registry of all available decision trees
 */
exports.decisionTreeRegistry = new Map([
    ['scrolling', scrollingDecisionTree_2.scrollingDecisionTree],
    ['launch', launchDecisionTree_2.launchDecisionTree],
]);
/**
 * Get a decision tree by analysis type
 */
function getDecisionTree(analysisType) {
    return exports.decisionTreeRegistry.get(analysisType);
}
/**
 * List all available decision trees
 */
function listDecisionTrees() {
    return Array.from(exports.decisionTreeRegistry.keys());
}
//# sourceMappingURL=index.js.map