import type { AxiosRequestConfig, AxiosResponse } from 'axios' export interface MYRequestInterceptors { requestInterceptor: (config: AxiosRequestConfig) => AxiosRequestConfig requestInterceptorCatch: (err: any) => any responseInterceptor: (res: T) => T responseInterceptorCatch: (err: any) => any } export interface MYRequestConfig extends AxiosRequestConfig { interceptors?: Partial> showLoading?: boolean }