import { IAuthorizationUrlParams } from './interfaces/authorization-url.interface'; import { IOAuthAuthOptions } from './interfaces/auth-options.interface'; import { IRevokeOptions } from './interfaces/revoke.interface'; import { IBlingTokenSet } from './interfaces/token-set.interface'; export declare class OAuthClient { private readonly clientId; private readonly clientSecret; private readonly oauthBaseUrl; private readonly onTokens?; private readonly http; private currentTokenSet?; constructor(options: IOAuthAuthOptions); get accessToken(): string | undefined; get refreshToken(): string | undefined; get tokenSet(): Partial | undefined; getAuthorizationUrl(params: IAuthorizationUrlParams): string; exchangeAuthorizationCode(code: string): Promise; refreshTokens(): Promise; revoke(options: IRevokeOptions): Promise; private requestToken; private defaultCatchBehavior; }