import { AxiosResponse, AxiosRequestConfig } from 'axios'; export type ResponseDataExtractor = (response: AxiosResponse) => D; export interface ApiError { message: string; source: string; statusCode: number; status: string; } export declare class ApiClient { protected baseUrl: string; protected headerProcessor: () => object; protected extractor: ResponseDataExtractor; protected errorHandler: (error: ApiError) => void; constructor(baseUrl: string, headerProcessor: () => object, extractor: ResponseDataExtractor, errorHandler: (error: ApiError) => void); get(url: string, params?: object, apiOptions?: ApiOptions, data?: object): Promise; delete(url: string, data?: object, params?: object, apiOptions?: ApiOptions): Promise; post(url: string, data?: object, params?: object, apiOptions?: ApiOptions): Promise; put(url: string, data?: object, params?: object, apiOptions?: ApiOptions): Promise; execute(axiosOptions: AxiosRequestConfig): Promise; private baseRequestOptions; } export declare class FileBlobClient { protected baseUrl: string; protected headerProcessor: () => object; protected extractor: ResponseDataExtractor; protected errorHandler: (error: ApiError) => void; constructor(baseUrl: string, headerProcessor: () => object, extractor: ResponseDataExtractor, errorHandler: (error: ApiError) => void); post(url: string, data?: object, params?: object, apiOptions?: ApiOptions): Promise; execute(axiosOptions: AxiosRequestConfig): Promise; private baseRequestOptions; } export interface ApiOptions { ignoreHeaders?: boolean; headers?: any; data?: any; }