/** * Configuration for retry behavior. */ export interface RetryConfig { /** 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: 30000) */ maxDelay?: number; } /** * Wraps an async operation with retry logic * * @param operation - The async function to execute * @param config - Retry configuration * @returns The result of the operation * @throws The last error if all retries are exhausted */ export declare function withRetry(operation: () => Promise, config?: RetryConfig): Promise;