//#region src/retry/withRetry.d.ts interface RetryOptions { maxRetries?: number; baseDelayMs?: number; maxDelayMs?: number; retryableCodes?: Set; context?: string; noRetry?: boolean; } declare function withRetry(fn: () => Promise, options?: RetryOptions): Promise; declare function withRetryTransaction(db: { transaction: (fn: (tx: any) => Promise) => Promise; }, txFn: (tx: any) => Promise, options?: Omit): Promise; //#endregion export { RetryOptions, withRetry, withRetryTransaction };