import { AxiosRequestConfig } from 'axios';
export default function (authToken?: string): {
    get: <TResult, TParams = any>(endpoints: string, params?: TParams) => Promise<TResult>;
    post: <TResult, TData = any>(endpoints: string, formData?: TData, config?: AxiosRequestConfig) => Promise<TResult>;
    patch: <TResult, TData = any>(endpoints: string, formData?: TData) => Promise<TResult>;
    remove: <TResult, TData = any>(endpoints: string, params?: TData) => Promise<TResult>;
    put: <TResult, TData = any>(endpoints: string, formData?: TData) => Promise<TResult>;
};
