"use strict";
/**
 * Copilot Module Index
 *
 * Central exports for GitHub Copilot integration via copilot-api.
 */
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.executeCopilotProfile = exports.generateCopilotEnv = exports.getCopilotStatus = exports.getCopilotUsage = exports.fetchCopilotUsageFromDaemon = exports.normalizeCopilotUsage = exports.normalizeCopilotSettingsWithWarnings = exports.normalizeCopilotSettings = exports.normalizeCopilotModelId = exports.normalizeCopilotConfigWithWarnings = exports.normalizeCopilotConfig = exports.DEPRECATED_COPILOT_MODEL_IDS = exports.getDefaultModel = exports.getAvailableModels = exports.fetchModelsFromDaemon = exports.DEFAULT_COPILOT_MODELS = exports.stopDaemon = exports.startDaemon = exports.getDaemonStatus = exports.isDaemonRunning = exports.getTokenPath = exports.hasTokenFile = exports.getCopilotDebugInfo = exports.startAuthFlow = exports.checkAuthStatus = exports.getCopilotApiInfo = exports.uninstallCopilotApi = exports.installCopilotApiVersion = exports.ensureCopilotApi = exports.checkForUpdates = exports.clearPinnedVersion = exports.savePinnedVersion = exports.getPinnedVersion = exports.getInstalledVersion = exports.isCopilotApiInstalled = exports.getCopilotApiBinPath = exports.getCopilotDir = void 0;
// Types
__exportStar(require("./types"), exports);
// Package Manager (self-managed installation)
var copilot_package_manager_1 = require("./copilot-package-manager");
Object.defineProperty(exports, "getCopilotDir", { enumerable: true, get: function () { return copilot_package_manager_1.getCopilotDir; } });
Object.defineProperty(exports, "getCopilotApiBinPath", { enumerable: true, get: function () { return copilot_package_manager_1.getCopilotApiBinPath; } });
Object.defineProperty(exports, "isCopilotApiInstalled", { enumerable: true, get: function () { return copilot_package_manager_1.isCopilotApiInstalled; } });
Object.defineProperty(exports, "getInstalledVersion", { enumerable: true, get: function () { return copilot_package_manager_1.getInstalledVersion; } });
Object.defineProperty(exports, "getPinnedVersion", { enumerable: true, get: function () { return copilot_package_manager_1.getPinnedVersion; } });
Object.defineProperty(exports, "savePinnedVersion", { enumerable: true, get: function () { return copilot_package_manager_1.savePinnedVersion; } });
Object.defineProperty(exports, "clearPinnedVersion", { enumerable: true, get: function () { return copilot_package_manager_1.clearPinnedVersion; } });
Object.defineProperty(exports, "checkForUpdates", { enumerable: true, get: function () { return copilot_package_manager_1.checkForUpdates; } });
Object.defineProperty(exports, "ensureCopilotApi", { enumerable: true, get: function () { return copilot_package_manager_1.ensureCopilotApi; } });
Object.defineProperty(exports, "installCopilotApiVersion", { enumerable: true, get: function () { return copilot_package_manager_1.installCopilotApiVersion; } });
Object.defineProperty(exports, "uninstallCopilotApi", { enumerable: true, get: function () { return copilot_package_manager_1.uninstallCopilotApi; } });
Object.defineProperty(exports, "getCopilotApiInfo", { enumerable: true, get: function () { return copilot_package_manager_1.getCopilotApiInfo; } });
// Auth
var copilot_auth_1 = require("./copilot-auth");
Object.defineProperty(exports, "checkAuthStatus", { enumerable: true, get: function () { return copilot_auth_1.checkAuthStatus; } });
Object.defineProperty(exports, "startAuthFlow", { enumerable: true, get: function () { return copilot_auth_1.startAuthFlow; } });
Object.defineProperty(exports, "getCopilotDebugInfo", { enumerable: true, get: function () { return copilot_auth_1.getCopilotDebugInfo; } });
Object.defineProperty(exports, "hasTokenFile", { enumerable: true, get: function () { return copilot_auth_1.hasTokenFile; } });
Object.defineProperty(exports, "getTokenPath", { enumerable: true, get: function () { return copilot_auth_1.getTokenPath; } });
// Daemon
var copilot_daemon_1 = require("./copilot-daemon");
Object.defineProperty(exports, "isDaemonRunning", { enumerable: true, get: function () { return copilot_daemon_1.isDaemonRunning; } });
Object.defineProperty(exports, "getDaemonStatus", { enumerable: true, get: function () { return copilot_daemon_1.getDaemonStatus; } });
Object.defineProperty(exports, "startDaemon", { enumerable: true, get: function () { return copilot_daemon_1.startDaemon; } });
Object.defineProperty(exports, "stopDaemon", { enumerable: true, get: function () { return copilot_daemon_1.stopDaemon; } });
// Models
var copilot_models_1 = require("./copilot-models");
Object.defineProperty(exports, "DEFAULT_COPILOT_MODELS", { enumerable: true, get: function () { return copilot_models_1.DEFAULT_COPILOT_MODELS; } });
Object.defineProperty(exports, "fetchModelsFromDaemon", { enumerable: true, get: function () { return copilot_models_1.fetchModelsFromDaemon; } });
Object.defineProperty(exports, "getAvailableModels", { enumerable: true, get: function () { return copilot_models_1.getAvailableModels; } });
Object.defineProperty(exports, "getDefaultModel", { enumerable: true, get: function () { return copilot_models_1.getDefaultModel; } });
// Normalization
var copilot_model_normalizer_1 = require("./copilot-model-normalizer");
Object.defineProperty(exports, "DEPRECATED_COPILOT_MODEL_IDS", { enumerable: true, get: function () { return copilot_model_normalizer_1.DEPRECATED_COPILOT_MODEL_IDS; } });
Object.defineProperty(exports, "normalizeCopilotConfig", { enumerable: true, get: function () { return copilot_model_normalizer_1.normalizeCopilotConfig; } });
Object.defineProperty(exports, "normalizeCopilotConfigWithWarnings", { enumerable: true, get: function () { return copilot_model_normalizer_1.normalizeCopilotConfigWithWarnings; } });
Object.defineProperty(exports, "normalizeCopilotModelId", { enumerable: true, get: function () { return copilot_model_normalizer_1.normalizeCopilotModelId; } });
Object.defineProperty(exports, "normalizeCopilotSettings", { enumerable: true, get: function () { return copilot_model_normalizer_1.normalizeCopilotSettings; } });
Object.defineProperty(exports, "normalizeCopilotSettingsWithWarnings", { enumerable: true, get: function () { return copilot_model_normalizer_1.normalizeCopilotSettingsWithWarnings; } });
// Usage
var copilot_usage_1 = require("./copilot-usage");
Object.defineProperty(exports, "normalizeCopilotUsage", { enumerable: true, get: function () { return copilot_usage_1.normalizeCopilotUsage; } });
Object.defineProperty(exports, "fetchCopilotUsageFromDaemon", { enumerable: true, get: function () { return copilot_usage_1.fetchCopilotUsageFromDaemon; } });
Object.defineProperty(exports, "getCopilotUsage", { enumerable: true, get: function () { return copilot_usage_1.getCopilotUsage; } });
// Executor
var copilot_executor_1 = require("./copilot-executor");
Object.defineProperty(exports, "getCopilotStatus", { enumerable: true, get: function () { return copilot_executor_1.getCopilotStatus; } });
Object.defineProperty(exports, "generateCopilotEnv", { enumerable: true, get: function () { return copilot_executor_1.generateCopilotEnv; } });
Object.defineProperty(exports, "executeCopilotProfile", { enumerable: true, get: function () { return copilot_executor_1.executeCopilotProfile; } });
//# sourceMappingURL=index.js.map