import { HttpInterceptorFn } from '@angular/common/http'; import { RetryInterceptorOptions, RetryPolicy } from './types'; /** * Creates an HttpInterceptorFn that will retry requests based on the provided * strategy. * * @param policy The retry strategy to use * @param options Additional options for the interceptor * * @example * createHttpRetryInterceptorFn({ * shouldHandleRequest: matchPattern({method: 'GET' }), * shouldHandleError: (err) => err instanceof HttpErrorResponse && err.status === 500, * */ export declare function createHttpRetryInterceptorFn(policy: RetryPolicy, options?: RetryInterceptorOptions): HttpInterceptorFn; export declare function validateRetryStrategy(strategy: RetryPolicy): void;