import { PKCEPairType } from "../types"; import { Account } from "../Account"; export declare class MicrosoftAccount extends Account { refreshToken?: string; authCode?: string; constructor(); /** * Refresh the Microsoft access token */ refresh(): Promise; /** * Complete the authentication flow with an auth code */ authFlow(authCode: string, PKCEPair?: PKCEPairType): Promise; /** * Get a valid access token, refreshing if necessary */ use(): Promise; /** * Fetch the Minecraft profile for this account */ getProfile(): Promise; /** * Serialize Microsoft account to JSON */ toJSON(): any; /** * Deserialize Microsoft account from JSON */ static fromJSON(data: any): MicrosoftAccount; }