export declare class TokenStorage { static BearerAccessToken: string; static refreshToken: string; static sessionId: number; /** In-memory cache of the decrypted profile — populated by saveUserProfile or hydrateProfile */ static profileCache: Record | null; static setSession(sessionId: any): void; /** * Stores user profile securely (encrypted in sessionStorage) * and keeps the token in memory for API calls. * Also populates profileCache so getUserDetails() works synchronously. */ static saveUserProfile(signinResponse: any): Promise; static updateTokens(accessToken?: string, refreshToken?: string): Promise; /** * Call once at app startup (e.g. in init()) to decrypt the stored profile * into memory so that getUserDetails() can read it synchronously. */ static hydrateProfile(): Promise; /** * Clears all stored credentials and profile data. */ static logout(): void; }