import { HttpErrorResponse, HttpEvent, HttpHandler, HttpRequest } from "@angular/common/http"; import { Observable } from "rxjs"; import { InterceptorType } from "../../enums"; import { PrecheckNullable } from "../../interfaces"; import * as i0 from "@angular/core"; export declare class InterceptorsService { /** * Skip * * Skip interceptors from next http requests */ skip: InterceptorType[]; /** * ResetSkip * * Resets to `skip` to empty array after first http request */ resetSkip: boolean; /** * Precheck * * Tells the `PrecheckInterceptor` to set a header with the given value */ precheck: PrecheckNullable; /** * ResetPrecheck * * Clear `precheck` after first http request */ resetPrecheck: boolean; /** * Error callback function * * Function to call after every http error */ errorCallbackfunction: ((httpErrorResponse: HttpErrorResponse) => void) | null; /** * Error skip status codes * * Skips the given status codes from `errorCallbackfunction` */ errorSkipStatusCodes: number[]; /** * Mock callback function * * Function to call to mock an http request */ mockCallbackFunction: ((request: HttpRequest, requestUrl: URL, next: HttpHandler) => Observable>) | null; /** * RequestId HTTP Header name */ requestIdHttpHeaderName: string; /** * RequestId repeat */ requestIdRepeat: boolean; /** * RequestId repeat delay */ requestIdRepeatDelay: number; /** * RequestId repeat statuscodes */ requestIdRepeatStatusCodes: number[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }