import { r as KlawConfig } from "./types.klaw-xKUw_Rz7.js"; import { s as AuthProfileStore } from "./types-ox6Zbtju.js"; //#region src/agents/auth-profiles/external-cli-discovery.d.ts type ExternalCliAuthDiscovery = { mode: "none"; allowKeychainPrompt?: false; config?: KlawConfig; } | { mode: "existing"; allowKeychainPrompt?: boolean; config?: KlawConfig; } | { mode: "scoped"; allowKeychainPrompt?: boolean; config?: KlawConfig; providerIds?: Iterable; profileIds?: Iterable; }; //#endregion //#region src/agents/auth-profiles/store.d.ts type LoadAuthProfileStoreOptions = { allowKeychainPrompt?: boolean; config?: KlawConfig; externalCli?: ExternalCliAuthDiscovery; readOnly?: boolean; resolveLegacyOAuthSidecars?: boolean; syncExternalCli?: boolean; externalCliProviderIds?: Iterable; externalCliProfileIds?: Iterable; }; type SaveAuthProfileStoreOptions = { filterExternalAuthProfiles?: boolean; syncExternalCli?: boolean; }; declare function updateAuthProfileStoreWithLock(params: { agentDir?: string; saveOptions?: SaveAuthProfileStoreOptions; updater: (store: AuthProfileStore) => boolean; }): Promise; declare function loadAuthProfileStore(): AuthProfileStore; declare function loadAuthProfileStoreForRuntime(agentDir?: string, options?: LoadAuthProfileStoreOptions): AuthProfileStore; declare function loadAuthProfileStoreForSecretsRuntime(agentDir?: string): AuthProfileStore; declare function loadAuthProfileStoreWithoutExternalProfiles(agentDir?: string, loadOptions?: Pick): AuthProfileStore; declare function ensureAuthProfileStore(agentDir?: string, options?: { allowKeychainPrompt?: boolean; config?: KlawConfig; externalCli?: ExternalCliAuthDiscovery; externalCliProviderIds?: Iterable; externalCliProfileIds?: Iterable; }): AuthProfileStore; declare function ensureAuthProfileStoreWithoutExternalProfiles(agentDir?: string, options?: { allowKeychainPrompt?: boolean; }): AuthProfileStore; declare function findPersistedAuthProfileCredential(params: { agentDir?: string; profileId: string; }): AuthProfileStore["profiles"][string] | undefined; declare function resolvePersistedAuthProfileOwnerAgentDir(params: { agentDir?: string; profileId: string; }): string | undefined; declare function ensureAuthProfileStoreForLocalUpdate(agentDir?: string): AuthProfileStore; declare function replaceRuntimeAuthProfileStoreSnapshots(entries: Array<{ agentDir?: string; store: AuthProfileStore; }>): void; declare function clearRuntimeAuthProfileStoreSnapshots(): void; declare function saveAuthProfileStore(store: AuthProfileStore, agentDir?: string, options?: SaveAuthProfileStoreOptions): void; //#endregion export { findPersistedAuthProfileCredential as a, loadAuthProfileStoreForSecretsRuntime as c, resolvePersistedAuthProfileOwnerAgentDir as d, saveAuthProfileStore as f, ensureAuthProfileStoreWithoutExternalProfiles as i, loadAuthProfileStoreWithoutExternalProfiles as l, ExternalCliAuthDiscovery as m, ensureAuthProfileStore as n, loadAuthProfileStore as o, updateAuthProfileStoreWithLock as p, ensureAuthProfileStoreForLocalUpdate as r, loadAuthProfileStoreForRuntime as s, clearRuntimeAuthProfileStoreSnapshots as t, replaceRuntimeAuthProfileStoreSnapshots as u };