import { AxiosInstance, AxiosRequestConfig } from "axios"; import { CheckResponseType, ErrorHandlerType, ResponseAfterType, SendBeforeType } from "./index"; export declare function openRequestLoading(requestConfig: AxiosRequestConfig): void; export declare function closeRequestLoading(requestConfig: AxiosRequestConfig, duration?: number): void; export default function handlerInterceptor(instance: AxiosInstance, error: ErrorHandlerType, before: SendBeforeType, after: ResponseAfterType, check: CheckResponseType, appendPage2Url: boolean, errorTip: boolean): void;