import type { AxiosInstance } from 'axios'; import type { RetryOptions } from '@ace-fetch/core'; export declare const RetryCountSymbol = "__RetryCount__"; /** * use axios.interceptors to register retry function. * do not change the return type from interceptors * with "AxiosResponse" ans "AxiosError", next handler functions need it * @param axiosInstance axios instance * @param options retry options */ export declare function applyRetry(axiosInstance: AxiosInstance, options: RetryOptions): void;