import { IdTokenPayload } from '../utils/jwt'; export type TokenType = 'Bearer'; export interface AuthResult { accessToken?: string; expiresIn?: number; tokenType?: TokenType; idToken?: string; idTokenPayload?: IdTokenPayload; code?: string; state?: string; refreshToken?: string; stepUpToken?: string; amr?: string[]; providerName?: string; providerAccessToken?: string; } /** * Parse the id token, if present, and add the payload to the AuthResult */ export declare function enrichAuthResult(response: AuthResult): AuthResult; export declare namespace AuthResult { function isAuthResult(thing: unknown): thing is AuthResult; }