import { AxiosInstance, AxiosResponse, InternalAxiosRequestConfig } from 'axios'; export declare enum AuthenticationType { Bearer = 0, ApiKey = 1 } export declare class CbRestApiClient { protected readonly instance: AxiosInstance; protected readonly authToken: string; protected readonly authType: AuthenticationType; constructor(baseUrl: string, authToken: string, authType?: AuthenticationType); protected _handleRequest: (config: InternalAxiosRequestConfig) => InternalAxiosRequestConfig; protected _handleResponse: (response: AxiosResponse) => any; protected _handleError: (error: any) => Promise; private _initializeRequestInterceptor; private _initializeResponseInterceptor; }