export type RetryOptions = {
    maxRetries: number;
    baseDelayMs: number;
    maxDelayMs?: number;
    shouldRetry?: (error: Error) => boolean;
};
export declare function withRetry<T>(operation: () => Promise<T>, options: RetryOptions): Promise<T>;
