import type Logger from '../engine/Logger'; export interface RetryOpts { maxRetries?: number; minBackoffDelayMs?: number; maxBackoffDelayMs?: number; actionName?: string; logger?: Logger; abortOnError?: (error: any) => boolean; onError?: (error: any) => Promise; } declare const retryAsync: (action: () => Promise, opts?: RetryOpts) => Promise; declare const retry: ReturnType>(action: () => ReturnType, opts?: RetryOpts) => Promise; export { retryAsync }; export default retry;