import { Injector } from '@angular/core'; import { HttpInterceptor, HttpHandler, HttpRequest, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs/Observable'; import { MessageService } from '../message'; export declare class ErrorInterceptor implements HttpInterceptor { private messageService; private injector; private httpError; constructor(messageService: MessageService, injector: Injector); intercept(req: HttpRequest, next: HttpHandler): Observable>; private handleError(httpError, req); private handleCaughtError(); private handleUncaughtError(); }