import { Injector } from '@angular/core'; import { Observable } from 'rxjs'; import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http'; export declare class ErrorHandlerInterceptor implements HttpInterceptor { private injector; private lastMessages; constructor(injector: Injector); intercept(req: HttpRequest, next: HttpHandler): Observable>; private handle; private isDuplicate; private parseErrorMessage; private getHeaderError; }