/** * Returns user details synchronously. * Priority: in-memory profileCache (encrypted) → legacy localStorage("profile") fallback. */ export declare function getUserDetails(): Record; /** * Returns user details after hydrating storage and refreshing an expired token. * Use this when callers need a valid token from the user details object. */ export declare function getUserDetailsWithRefresh(): Promise>;