import { AxiosInstance } from 'axios';
declare module 'axios' {
    interface AxiosResponse<T> extends Promise<T> {
    }
}
export declare abstract class HttpClient {
    protected readonly apiKey: string;
    protected readonly projectId: string;
    protected readonly instance: AxiosInstance;
    protected readonly protectedInstance: AxiosInstance;
    protected readonly identityServiceInstance: AxiosInstance;
    constructor(baseURL: string, identityBaseURL: string, apiKey: string, projectId: string);
    private _initializeResponseInterceptor;
    private _handleResponse;
    protected _handleError: (error: Error) => Promise<never>;
}
