/** * Retry utility with exponential backoff */ export interface RetryOptions { maxAttempts?: number; initialDelayMs?: number; maxDelayMs?: number; backoffMultiplier?: number; } /** * Retry a function with exponential backoff * * @param fn - Async function to retry * @param options - Retry configuration * @param shouldRetry - Optional function to determine if error is retryable * @returns Result of the function */ export declare function retryWithBackoff(fn: () => Promise, options?: RetryOptions, shouldRetry?: (error: any, attempt: number) => boolean): Promise; /** * Check if an error is related to UTXO not being found */ export declare function isUtxoNotFoundError(error: any): boolean; /** * Determine if an error should trigger a retry */ export declare function shouldRetryError(error: any, attempt: number): boolean; //# sourceMappingURL=retryUtils.d.ts.map