import { OAuthConfigAccount, WriteTokenInfoFunction, RefreshTokenResponse, ExchangeProof } from '../types/Accounts.js'; export declare class OAuth2Manager { account: OAuthConfigAccount; writeTokenInfo?: WriteTokenInfoFunction; refreshTokenRequest: Promise | null; constructor(account: OAuthConfigAccount, writeTokenInfo?: WriteTokenInfoFunction); accessToken(): Promise; fetchAccessToken(exchangeProof: ExchangeProof): Promise; exchangeForTokens(exchangeProof: ExchangeProof): Promise; refreshAccessToken(): Promise; }