import type { RefreshableAccount, RefreshResult, TokenPersistTarget } from "../types/index.js";
export declare function needsRefresh(account: RefreshableAccount): boolean;
export declare function refreshToken(account: RefreshableAccount): Promise<RefreshResult>;
export declare function persistTokens(target: TokenPersistTarget, account: RefreshableAccount): Promise<void>;
