import { HttpContext, HttpInterceptorFn } from "@angular/common/http"; /** * Retries opted-in GET requests when they fail with configured transient HTTP errors. */ export declare const httpRetryInterceptor: HttpInterceptorFn; interface IHttpRetryPolicy { retryCount: number; delayMs: number; backoffMultiplier: number; maxDelayMs: number; retryableStatusCodes: readonly number[]; } type IHttpRetryPolicyOptions = Partial; /** * Enables HTTP retry for a request by adding the normalized retry policy to its context. */ export declare function withHttpRetry(policy: IHttpRetryPolicyOptions, context?: HttpContext): HttpContext; /** * Disables HTTP retry for a request by setting a zero retry count on its context. */ export declare function withoutHttpRetry(context?: HttpContext): HttpContext;