"use strict";
/**
 * API Services
 *
 * Barrel export for API-related business logic services.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.isValidPresetId = exports.getPresetIds = exports.getPresetAliases = exports.getPresetById = exports.OPENROUTER_BASE_URL = exports.PRESET_ALIASES = exports.PROVIDER_PRESETS = exports.getLocalRuntimeReadiness = exports.pickOpenRouterModel = exports.fetchOpenRouterModels = exports.isOpenRouterUrl = exports.importApiProfileBundle = exports.exportApiProfile = exports.copyApiProfile = exports.registerApiProfileOrphans = exports.discoverApiProfileOrphans = exports.validateApiProfileSettingsPayload = exports.suggestCliproxyBridgeName = exports.resolveCliproxyBridgeProfile = exports.resolveCliproxyBridgeMetadata = exports.listCliproxyBridgeProviders = exports.getDefaultCliproxyBridgeName = exports.createCliproxyBridgeProfile = exports.updateApiProfileTarget = exports.removeApiProfile = exports.createApiProfile = exports.isUsingUnifiedConfig = exports.getApiProfileNames = exports.listApiProfiles = exports.isApiProfileConfigured = exports.apiProfileExists = exports.sanitizeBaseUrl = exports.getUrlWarning = exports.validateUrl = exports.validateApiName = void 0;
// Validation services
var validation_service_1 = require("./validation-service");
Object.defineProperty(exports, "validateApiName", { enumerable: true, get: function () { return validation_service_1.validateApiName; } });
Object.defineProperty(exports, "validateUrl", { enumerable: true, get: function () { return validation_service_1.validateUrl; } });
Object.defineProperty(exports, "getUrlWarning", { enumerable: true, get: function () { return validation_service_1.getUrlWarning; } });
Object.defineProperty(exports, "sanitizeBaseUrl", { enumerable: true, get: function () { return validation_service_1.sanitizeBaseUrl; } });
// Profile read operations
var profile_reader_1 = require("./profile-reader");
Object.defineProperty(exports, "apiProfileExists", { enumerable: true, get: function () { return profile_reader_1.apiProfileExists; } });
Object.defineProperty(exports, "isApiProfileConfigured", { enumerable: true, get: function () { return profile_reader_1.isApiProfileConfigured; } });
Object.defineProperty(exports, "listApiProfiles", { enumerable: true, get: function () { return profile_reader_1.listApiProfiles; } });
Object.defineProperty(exports, "getApiProfileNames", { enumerable: true, get: function () { return profile_reader_1.getApiProfileNames; } });
Object.defineProperty(exports, "isUsingUnifiedConfig", { enumerable: true, get: function () { return profile_reader_1.isUsingUnifiedConfig; } });
// Profile write operations
var profile_writer_1 = require("./profile-writer");
Object.defineProperty(exports, "createApiProfile", { enumerable: true, get: function () { return profile_writer_1.createApiProfile; } });
Object.defineProperty(exports, "removeApiProfile", { enumerable: true, get: function () { return profile_writer_1.removeApiProfile; } });
Object.defineProperty(exports, "updateApiProfileTarget", { enumerable: true, get: function () { return profile_writer_1.updateApiProfileTarget; } });
var profile_writer_2 = require("./profile-writer");
Object.defineProperty(exports, "createCliproxyBridgeProfile", { enumerable: true, get: function () { return profile_writer_2.createCliproxyBridgeProfile; } });
var cliproxy_profile_bridge_1 = require("./cliproxy-profile-bridge");
Object.defineProperty(exports, "getDefaultCliproxyBridgeName", { enumerable: true, get: function () { return cliproxy_profile_bridge_1.getDefaultCliproxyBridgeName; } });
Object.defineProperty(exports, "listCliproxyBridgeProviders", { enumerable: true, get: function () { return cliproxy_profile_bridge_1.listCliproxyBridgeProviders; } });
Object.defineProperty(exports, "resolveCliproxyBridgeMetadata", { enumerable: true, get: function () { return cliproxy_profile_bridge_1.resolveCliproxyBridgeMetadata; } });
Object.defineProperty(exports, "resolveCliproxyBridgeProfile", { enumerable: true, get: function () { return cliproxy_profile_bridge_1.resolveCliproxyBridgeProfile; } });
Object.defineProperty(exports, "suggestCliproxyBridgeName", { enumerable: true, get: function () { return cliproxy_profile_bridge_1.suggestCliproxyBridgeName; } });
// Lifecycle validation and operations
var profile_lifecycle_validation_1 = require("./profile-lifecycle-validation");
Object.defineProperty(exports, "validateApiProfileSettingsPayload", { enumerable: true, get: function () { return profile_lifecycle_validation_1.validateApiProfileSettingsPayload; } });
var profile_lifecycle_service_1 = require("./profile-lifecycle-service");
Object.defineProperty(exports, "discoverApiProfileOrphans", { enumerable: true, get: function () { return profile_lifecycle_service_1.discoverApiProfileOrphans; } });
Object.defineProperty(exports, "registerApiProfileOrphans", { enumerable: true, get: function () { return profile_lifecycle_service_1.registerApiProfileOrphans; } });
Object.defineProperty(exports, "copyApiProfile", { enumerable: true, get: function () { return profile_lifecycle_service_1.copyApiProfile; } });
Object.defineProperty(exports, "exportApiProfile", { enumerable: true, get: function () { return profile_lifecycle_service_1.exportApiProfile; } });
Object.defineProperty(exports, "importApiProfileBundle", { enumerable: true, get: function () { return profile_lifecycle_service_1.importApiProfileBundle; } });
// OpenRouter catalog and picker
var openrouter_catalog_1 = require("./openrouter-catalog");
Object.defineProperty(exports, "isOpenRouterUrl", { enumerable: true, get: function () { return openrouter_catalog_1.isOpenRouterUrl; } });
Object.defineProperty(exports, "fetchOpenRouterModels", { enumerable: true, get: function () { return openrouter_catalog_1.fetchOpenRouterModels; } });
var openrouter_picker_1 = require("./openrouter-picker");
Object.defineProperty(exports, "pickOpenRouterModel", { enumerable: true, get: function () { return openrouter_picker_1.pickOpenRouterModel; } });
var local_runtime_readiness_1 = require("./local-runtime-readiness");
Object.defineProperty(exports, "getLocalRuntimeReadiness", { enumerable: true, get: function () { return local_runtime_readiness_1.getLocalRuntimeReadiness; } });
// Provider presets for CLI
var provider_presets_1 = require("./provider-presets");
Object.defineProperty(exports, "PROVIDER_PRESETS", { enumerable: true, get: function () { return provider_presets_1.PROVIDER_PRESETS; } });
Object.defineProperty(exports, "PRESET_ALIASES", { enumerable: true, get: function () { return provider_presets_1.PRESET_ALIASES; } });
Object.defineProperty(exports, "OPENROUTER_BASE_URL", { enumerable: true, get: function () { return provider_presets_1.OPENROUTER_BASE_URL; } });
Object.defineProperty(exports, "getPresetById", { enumerable: true, get: function () { return provider_presets_1.getPresetById; } });
Object.defineProperty(exports, "getPresetAliases", { enumerable: true, get: function () { return provider_presets_1.getPresetAliases; } });
Object.defineProperty(exports, "getPresetIds", { enumerable: true, get: function () { return provider_presets_1.getPresetIds; } });
Object.defineProperty(exports, "isValidPresetId", { enumerable: true, get: function () { return provider_presets_1.isValidPresetId; } });
//# sourceMappingURL=index.js.map