export interface RetryOptions { /** Maximum number of retry attempts (default: 3) */ maxRetries?: number; /** Base delay in ms before first retry (default: 1000) */ baseDelay?: number; /** Maximum delay in ms between retries (default: 10000) */ maxDelay?: number; /** Custom predicate to determine if an error is retryable */ retryOn?: (error: unknown) => boolean; } /** Execute a function with exponential backoff retry logic. * * Retries on network errors and 5xx-like failures by default. * Uses exponential backoff with jitter to avoid thundering herd. * * @throws The last error encountered after all retries are exhausted */ export declare function withRetry(fn: () => Promise, options?: RetryOptions): Promise; //# sourceMappingURL=retry.d.ts.map