import { AxiosError, AxiosInstance } from "axios";
import IAxiosRetryOptions from "../Interfaces/IAxiosRetryOptions";
/**
 * Custom handler for HTTP calls with Axios. Handler allows retrying HTTP calls if they fail.
 *
 * @param axios Axios instance.
 * @param axiosRetryOptions Options for axios retry.
 */
declare const axiosRetryHandler: (axios: AxiosInstance, axiosRetryOptions: IAxiosRetryOptions) => void;
export declare function isRetryableError(error: AxiosError): boolean;
export declare function axiosRetryHandlerWithNotFound(axios: AxiosInstance, axiosRetryOptions: IAxiosRetryOptions): void;
export default axiosRetryHandler;
