import { ICallback } from './types/callback.js';
export declare function withRetry<T>(operation: (cb: ICallback<T>) => void, options: {
    maxAttempts?: number;
    retryDelay?: number;
    shouldRetry?: (err: Error) => boolean;
} | undefined, callback: ICallback<T>): void;
//# sourceMappingURL=with-retry.d.ts.map