import { AxiosInstance, AxiosError } from 'axios';
import { STSAxiosConfig } from '@nsshunt/stsutils';
export interface ISTSRetryConfig {
    maxRetries?: number;
    retryDelayMs?: number;
    retryJitterMs?: number;
    retryMethods?: string[];
    retryStatusCodes?: number[];
    retryErrorCodes?: string[];
    maxRetryDurationMs?: number;
    onRetryAttempt?: (attempt: number, error: AxiosError, delayMs: number) => void;
    stsAxiosConfig?: STSAxiosConfig;
}
export declare function createRetryAxiosClient(retryConfig?: ISTSRetryConfig): AxiosInstance;
//# sourceMappingURL=retryAxiosClient.d.ts.map