import { AxiosRequestConfig, AxiosPromise } from 'axios'; export declare type UrlResolver = { path: string; pathParams?: (pathParams: { [key: string]: any; }) => void; resolver?: (url: string, pathParamsOrConfig?, config?) => string; }; export declare const constructRequestUrl: (url: string | UrlResolver, method: any) => (...args: any[]) => AxiosRequestConfig; export declare const requestMethod: (url: string | UrlResolver, method: any, axiosInstance?: any) => (...args: any[]) => AxiosPromise; declare const _default: (api: any, urls?: any, axiosInstance?: any) => any; export default _default;