/** * Retry implementation with backoff and jitter strategies */ import type { RetryConfig, ResilientOperation } from './types.js'; /** * Callback for retry events */ export type RetryCallback = (attempt: number, delay: number, error: unknown) => void; /** * Retry wrapper with configurable backoff and jitter */ export declare class RetryWrapper { private readonly config; private readonly onRetry?; private attemptCount; constructor(config: RetryConfig, onRetry?: RetryCallback | undefined); /** * Get the number of attempts made */ getAttemptCount(): number; /** * Execute an operation with retry logic */ execute(operation: ResilientOperation, signal?: AbortSignal): Promise; /** * Create a retry wrapper with default configuration */ static withDefaults(partial?: Partial): RetryWrapper; } //# sourceMappingURL=retry.d.ts.map