import type { RetryConfiguring } from './retry-configuring'; import type { Milliseconds } from './milliseconds'; /** * A retry configuration that retries twice for transient errors * with exponential retry delay as well as `Retry-After` header support. */ export declare class DefaultRetryConfiguration implements RetryConfiguring { static readonly shared: Readonly; private readonly maxRetries; constructor(options?: { maxRetries?: number; transientStatusCodes?: Set; }); readonly transientStatusCodes: ReadonlySet; shouldRetry(response: Response | null, retryNumber: number): boolean; retryDelay(retryNumber: number, response?: Response | null): Milliseconds | null; }