import type { AxiosInstance } from "axios"; import type { Plugin } from "../types"; type InterceptorType = keyof AxiosInstance["interceptors"]; type InterceptorParams = Parameters; type Interceptor = { onFulfilled: InterceptorParams[0]; onRejected: InterceptorParams[1]; }; declare const createAxiosInterceptors: ({ client, plugins, }: { client: AxiosInstance; plugins?: Plugin[] | undefined; }) => { request: Interceptor<"request">; response: Interceptor<"response">; }; export default createAxiosInterceptors;