import { AxiosInstance } from 'axios'; import { MyRequestConfig, MyRequestIntercepts } from './types'; declare class MyRequest { instance: AxiosInstance; intercepts?: MyRequestIntercepts; constructor(config: any); request(config: MyRequestConfig): Promise; get(config: MyRequestConfig): Promise; post(config: MyRequestConfig): Promise; put(config: MyRequestConfig): Promise; delete(config: MyRequestConfig): Promise; patch(config: MyRequestConfig): Promise; } export default MyRequest;