import { AxiosRequestConfig } from 'axios'; interface ApiCallProps { url: string; data?: any; config?: AxiosRequestConfig; } export interface ApiProvider { post({ url, data, config }: ApiCallProps): Promise; put({ url, data, config }: ApiCallProps): Promise; get({ url, config }: ApiCallProps): Promise; delete({ url, config }: ApiCallProps): Promise; } declare class AxiosApiProvider implements ApiProvider { constructor(); post({ url, data, config }: ApiCallProps): Promise; put({ url, data, config }: ApiCallProps): Promise; get({ url, config }: ApiCallProps): Promise; delete({ url, config }: ApiCallProps): Promise; } export declare const axiosApiProvider: AxiosApiProvider; export {};