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