import { type ClaudeAiOauth, type CredentialStore } from '../credentials/credential-store.js'; /** * Mirror `refreshed` into `deps.credentials` (the file vault by default) when * `email` matches the active account in `deps.claudeJsonPath` (defaults to the * real `~/.claude.json`). * * Best-effort: every failure mode silently no-ops. The snapshot already carries * the refreshed tokens by the time this is called; a vault-write failure * leaves Claude Code in the pre-fix behaviour (next refresh hits 401 and * prompts /login), not in a worse state. */ export declare function mirrorActiveOauthVaultIfApplicable(email: string, refreshed: ClaudeAiOauth, deps?: { credentials?: CredentialStore; claudeJsonPath?: string; }): void;