export interface RetryOptions {
    delay?: number;
    attempts?: number;
    onRetry?(info: {
        attempt: number;
        delay: number;
        error: any;
    }): void;
    shouldRetry?(error: any): boolean;
}
export default function retry<T>(run: () => Promise<T>, { delay: backoffDelay, attempts, onRetry, shouldRetry, }?: RetryOptions): Promise<T>;
//# sourceMappingURL=retry.d.ts.map