"use strict";
/**
 * Management Module Barrel Export
 *
 * Provides system management functionality including health checks,
 * diagnostics, instance management, and repair utilities.
 */
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);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.enhancedPreflightOAuthCheck = exports.preflightOAuthCheck = exports.formatOAuthPortDiagnostics = exports.getPortConflicts = exports.checkAuthCodePorts = exports.checkAllOAuthPorts = exports.checkOAuthPort = exports.OAUTH_FLOW_TYPES = exports.OAUTH_CALLBACK_PORTS = exports.formatEnvironmentDiagnostics = exports.shouldUseHeadlessAuth = exports.getEnvironmentDiagnostics = exports.SharedManager = exports.RecoveryManager = exports.InstanceManager = exports.Doctor = void 0;
// Manager classes (default exports)
var doctor_1 = require("./doctor");
Object.defineProperty(exports, "Doctor", { enumerable: true, get: function () { return __importDefault(doctor_1).default; } });
var instance_manager_1 = require("./instance-manager");
Object.defineProperty(exports, "InstanceManager", { enumerable: true, get: function () { return __importDefault(instance_manager_1).default; } });
var recovery_manager_1 = require("./recovery-manager");
Object.defineProperty(exports, "RecoveryManager", { enumerable: true, get: function () { return __importDefault(recovery_manager_1).default; } });
var shared_manager_1 = require("./shared-manager");
Object.defineProperty(exports, "SharedManager", { enumerable: true, get: function () { return __importDefault(shared_manager_1).default; } });
// Environment diagnostics
var environment_diagnostics_1 = require("./environment-diagnostics");
Object.defineProperty(exports, "getEnvironmentDiagnostics", { enumerable: true, get: function () { return environment_diagnostics_1.getEnvironmentDiagnostics; } });
Object.defineProperty(exports, "shouldUseHeadlessAuth", { enumerable: true, get: function () { return environment_diagnostics_1.shouldUseHeadlessAuth; } });
Object.defineProperty(exports, "formatEnvironmentDiagnostics", { enumerable: true, get: function () { return environment_diagnostics_1.formatEnvironmentDiagnostics; } });
// OAuth port diagnostics
var oauth_port_diagnostics_1 = require("./oauth-port-diagnostics");
Object.defineProperty(exports, "OAUTH_CALLBACK_PORTS", { enumerable: true, get: function () { return oauth_port_diagnostics_1.OAUTH_CALLBACK_PORTS; } });
Object.defineProperty(exports, "OAUTH_FLOW_TYPES", { enumerable: true, get: function () { return oauth_port_diagnostics_1.OAUTH_FLOW_TYPES; } });
Object.defineProperty(exports, "checkOAuthPort", { enumerable: true, get: function () { return oauth_port_diagnostics_1.checkOAuthPort; } });
Object.defineProperty(exports, "checkAllOAuthPorts", { enumerable: true, get: function () { return oauth_port_diagnostics_1.checkAllOAuthPorts; } });
Object.defineProperty(exports, "checkAuthCodePorts", { enumerable: true, get: function () { return oauth_port_diagnostics_1.checkAuthCodePorts; } });
Object.defineProperty(exports, "getPortConflicts", { enumerable: true, get: function () { return oauth_port_diagnostics_1.getPortConflicts; } });
Object.defineProperty(exports, "formatOAuthPortDiagnostics", { enumerable: true, get: function () { return oauth_port_diagnostics_1.formatOAuthPortDiagnostics; } });
Object.defineProperty(exports, "preflightOAuthCheck", { enumerable: true, get: function () { return oauth_port_diagnostics_1.preflightOAuthCheck; } });
Object.defineProperty(exports, "enhancedPreflightOAuthCheck", { enumerable: true, get: function () { return oauth_port_diagnostics_1.enhancedPreflightOAuthCheck; } });
// Health checks
__exportStar(require("./checks"), exports);
// Repair utilities
__exportStar(require("./repair"), exports);
//# sourceMappingURL=index.js.map