export interface IAuthProvider { applyRequestHeaders(headers: Record): void; ensureFreshToken?(): Promise; handleUnauthorized?(): Promise; }