import { AxiosError, AxiosInstance } from "axios";
import IAxiosRetryOptions from "../Interfaces/IAxiosRetryOptions";
/**
* Custom handler for HTTP calls with Axios. Handler allows to retry HTTP calls if failed.
*
* @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 default axiosRetryHandler;
