import { IOAuthAuthOptions } from '../interfaces/auth-options.interface'; import { IAuthProvider } from '../interfaces/auth-provider.interface'; import { OAuthClient } from '../oauth-client'; export declare class OAuthAuthProvider implements IAuthProvider { readonly oauthClient: OAuthClient; private readonly autoRefreshOption; private refreshPromise; constructor(options: IOAuthAuthOptions); applyRequestHeaders(headers: Record): void; ensureFreshToken(): Promise; handleUnauthorized(): Promise; }