import { type CliCredentials } from './config'; export interface RefreshDeps { readStored?: () => CliCredentials | null; save?: (creds: CliCredentials) => void; fetchImpl?: typeof fetch; now?: () => number; } /** A newer token for `current`, persisted when it was renewed here, or null when none can be had. */ export declare function refreshCredentials(current: CliCredentials, deps?: RefreshDeps): Promise;