import { o as resolveRequiredHomeDir } from "../home-dir-BVPVHSK4.js";
import { C as CODEX_CLI_PROFILE_ID, S as CLAUDE_CLI_PROFILE_ID, n as ensureAuthProfileStore, v as readClaudeCliCredentialsCached } from "../store-DLavseDR.js";
import { a as hasConfiguredSecretInput, i as coerceSecretRef } from "../types.secrets-CjPCMEo4.js";
import { l as resolveDefaultSecretProviderAlias } from "../ref-contract-DZhDTrTo.js";
import { i as omitEnvKeysCaseInsensitive, n as listKnownProviderAuthEnvVarNames } from "../provider-env-vars-BuWvbGAb.js";
import { n as normalizeSecretInput, t as normalizeOptionalSecretInput } from "../normalize-secret-input-Cwg-vdk5.js";
import { i as removeProviderAuthProfilesWithLock, n as listProfilesForProvider, o as upsertAuthProfile, s as upsertAuthProfileWithLock } from "../profiles-g4Nk53sC.js";
import { n as suggestOAuthProfileIdForLegacyDefault } from "../repair-wWllja_r.js";
import { g as resolveOAuthApiKeyMarker, l as isKnownEnvApiKeyMarker, m as resolveNonEnvSecretRefApiKeyMarker, r as MINIMAX_OAUTH_MARKER, t as CUSTOM_LOCAL_AUTH_MARKER, u as isNonSecretApiKeyMarker } from "../model-auth-markers-CvwYPdtC.js";
import { t as resolveEnvApiKey } from "../model-auth-env-Bh0gQQ5c.js";
import { r as normalizeApiKeyConfig } from "../models-config.providers.secrets-6niG2wng.js";
import { i as writeOAuthCredentials, n as buildApiKeyCredential, r as upsertApiKeyProfile, t as applyAuthProfileConfig } from "../provider-auth-helpers-ioq6RWVW.js";
import { t as resolveSecretInputModeForEnvSelection } from "../provider-auth-mode-BhFuCtFO.js";
import { n as promptSecretRefForSetup } from "../provider-auth-ref-C4H-jqQW.js";
import { a as normalizeSecretInputModeInput, i as normalizeApiKeyInput, n as ensureApiKeyFromOptionEnvOrPrompt, r as formatApiKeyPreview, s as validateApiKeyInput, t as ensureApiKeyFromEnvOrPrompt } from "../provider-auth-input-DY5BreKS.js";
import { n as validateAnthropicSetupToken, t as buildTokenProfileId } from "../provider-auth-token-CiB7585t.js";
import { t as createProviderApiKeyAuthMethod } from "../provider-api-key-auth-BdQOqMrP.js";
import { t as buildOauthProviderAuthResult } from "../provider-auth-result-BisJtSt9.js";
import { n as generatePkceVerifierChallenge, r as toFormUrlEncoded, t as isProviderApiKeyConfigured } from "../provider-auth-CO56d927.js";
export { CLAUDE_CLI_PROFILE_ID, CODEX_CLI_PROFILE_ID, CUSTOM_LOCAL_AUTH_MARKER, MINIMAX_OAUTH_MARKER, applyAuthProfileConfig, buildApiKeyCredential, buildOauthProviderAuthResult, buildTokenProfileId, coerceSecretRef, createProviderApiKeyAuthMethod, ensureApiKeyFromEnvOrPrompt, ensureApiKeyFromOptionEnvOrPrompt, ensureAuthProfileStore, formatApiKeyPreview, generatePkceVerifierChallenge, hasConfiguredSecretInput, isKnownEnvApiKeyMarker, isNonSecretApiKeyMarker, isProviderApiKeyConfigured, listKnownProviderAuthEnvVarNames, listProfilesForProvider, normalizeApiKeyConfig, normalizeApiKeyInput, normalizeOptionalSecretInput, normalizeSecretInput, normalizeSecretInputModeInput, omitEnvKeysCaseInsensitive, promptSecretRefForSetup, readClaudeCliCredentialsCached, removeProviderAuthProfilesWithLock, resolveDefaultSecretProviderAlias, resolveEnvApiKey, resolveNonEnvSecretRefApiKeyMarker, resolveOAuthApiKeyMarker, resolveRequiredHomeDir, resolveSecretInputModeForEnvSelection, suggestOAuthProfileIdForLegacyDefault, toFormUrlEncoded, upsertApiKeyProfile, upsertAuthProfile, upsertAuthProfileWithLock, validateAnthropicSetupToken, validateApiKeyInput, writeOAuthCredentials };
