/** * @internal * @module Utils */ export interface JWTBasePayload { iss?: string; sub?: string; aud?: string; exp?: number; nbf?: number; iat?: number; jti?: string; } export declare type JWTPayload = JWTBasePayload & Payload; export declare function parseJWT(jwt: string, keepKeys?: boolean): JWTPayload | null; /** * @internal */ export declare function extractJWT(response: Response): string | null;