import type { AxiosInstance } from 'axios'; import type { CatchErrorOptions } from '@ace-fetch/core'; /** * use axios.interceptors to catch errors. * do not change the return type from interceptors * with "AxiosResponse" ans "AxiosError", next handler functions need it * @param axiosInstance axios instance * @param options catch error options */ export declare function applyCatchError(axiosInstance: AxiosInstance, options?: CatchErrorOptions): void;