"use strict";
/**
 * Account Manager for CLIProxyAPI Multi-Account Support
 *
 * DEPRECATED: This file is now a re-export shim for backwards compatibility.
 * New code should import directly from './accounts/' module.
 *
 * Manages multiple OAuth accounts per provider (Gemini, Codex, etc.).
 * Each provider can have multiple accounts, with one designated as default.
 *
 * Account storage: ~/.ccs/cliproxy/accounts.json
 * Token storage: ~/.ccs/cliproxy/auth/ (flat structure, CLIProxyAPI discovers by type field)
 * Paused tokens: ~/.ccs/cliproxy/auth-paused/ (sibling dir, outside CLIProxyAPI scan path)
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.soloAccount = exports.bulkResumeAccounts = exports.bulkPauseAccounts = exports.getAllAccountsSummary = exports.isAccountPaused = exports.getActiveAccounts = exports.findAccountByQuery = exports.getAccount = exports.getDefaultAccount = exports.getProviderAccounts = exports.discoverExistingAccounts = exports.setAccountTier = exports.touchAccount = exports.renameAccount = exports.removeAccount = exports.resumeAccount = exports.pauseAccount = exports.setDefaultAccount = exports.registerAccount = exports.syncRegistryWithTokenFiles = exports.saveAccountsRegistry = exports.loadAccountsRegistry = exports.tokenFileExists = exports.findAccountNameMatch = exports.hasAccountNameConflict = exports.validateNickname = exports.generateNickname = exports.deriveNoEmailProviderAccountId = exports.extractAccountIdFromTokenFile = exports.getAccountTokenPath = exports.getPausedDir = exports.getAccountsRegistryPath = exports.PROVIDERS_WITHOUT_EMAIL = void 0;
var _1 = require(".");
Object.defineProperty(exports, "PROVIDERS_WITHOUT_EMAIL", { enumerable: true, get: function () { return _1.PROVIDERS_WITHOUT_EMAIL; } });
Object.defineProperty(exports, "getAccountsRegistryPath", { enumerable: true, get: function () { return _1.getAccountsRegistryPath; } });
Object.defineProperty(exports, "getPausedDir", { enumerable: true, get: function () { return _1.getPausedDir; } });
Object.defineProperty(exports, "getAccountTokenPath", { enumerable: true, get: function () { return _1.getAccountTokenPath; } });
Object.defineProperty(exports, "extractAccountIdFromTokenFile", { enumerable: true, get: function () { return _1.extractAccountIdFromTokenFile; } });
Object.defineProperty(exports, "deriveNoEmailProviderAccountId", { enumerable: true, get: function () { return _1.deriveNoEmailProviderAccountId; } });
Object.defineProperty(exports, "generateNickname", { enumerable: true, get: function () { return _1.generateNickname; } });
Object.defineProperty(exports, "validateNickname", { enumerable: true, get: function () { return _1.validateNickname; } });
Object.defineProperty(exports, "hasAccountNameConflict", { enumerable: true, get: function () { return _1.hasAccountNameConflict; } });
Object.defineProperty(exports, "findAccountNameMatch", { enumerable: true, get: function () { return _1.findAccountNameMatch; } });
Object.defineProperty(exports, "tokenFileExists", { enumerable: true, get: function () { return _1.tokenFileExists; } });
Object.defineProperty(exports, "loadAccountsRegistry", { enumerable: true, get: function () { return _1.loadAccountsRegistry; } });
Object.defineProperty(exports, "saveAccountsRegistry", { enumerable: true, get: function () { return _1.saveAccountsRegistry; } });
Object.defineProperty(exports, "syncRegistryWithTokenFiles", { enumerable: true, get: function () { return _1.syncRegistryWithTokenFiles; } });
Object.defineProperty(exports, "registerAccount", { enumerable: true, get: function () { return _1.registerAccount; } });
Object.defineProperty(exports, "setDefaultAccount", { enumerable: true, get: function () { return _1.setDefaultAccount; } });
Object.defineProperty(exports, "pauseAccount", { enumerable: true, get: function () { return _1.pauseAccount; } });
Object.defineProperty(exports, "resumeAccount", { enumerable: true, get: function () { return _1.resumeAccount; } });
Object.defineProperty(exports, "removeAccount", { enumerable: true, get: function () { return _1.removeAccount; } });
Object.defineProperty(exports, "renameAccount", { enumerable: true, get: function () { return _1.renameAccount; } });
Object.defineProperty(exports, "touchAccount", { enumerable: true, get: function () { return _1.touchAccount; } });
Object.defineProperty(exports, "setAccountTier", { enumerable: true, get: function () { return _1.setAccountTier; } });
Object.defineProperty(exports, "discoverExistingAccounts", { enumerable: true, get: function () { return _1.discoverExistingAccounts; } });
Object.defineProperty(exports, "getProviderAccounts", { enumerable: true, get: function () { return _1.getProviderAccounts; } });
Object.defineProperty(exports, "getDefaultAccount", { enumerable: true, get: function () { return _1.getDefaultAccount; } });
Object.defineProperty(exports, "getAccount", { enumerable: true, get: function () { return _1.getAccount; } });
Object.defineProperty(exports, "findAccountByQuery", { enumerable: true, get: function () { return _1.findAccountByQuery; } });
Object.defineProperty(exports, "getActiveAccounts", { enumerable: true, get: function () { return _1.getActiveAccounts; } });
Object.defineProperty(exports, "isAccountPaused", { enumerable: true, get: function () { return _1.isAccountPaused; } });
Object.defineProperty(exports, "getAllAccountsSummary", { enumerable: true, get: function () { return _1.getAllAccountsSummary; } });
Object.defineProperty(exports, "bulkPauseAccounts", { enumerable: true, get: function () { return _1.bulkPauseAccounts; } });
Object.defineProperty(exports, "bulkResumeAccounts", { enumerable: true, get: function () { return _1.bulkResumeAccounts; } });
Object.defineProperty(exports, "soloAccount", { enumerable: true, get: function () { return _1.soloAccount; } });
//# sourceMappingURL=account-manager.js.map