import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ApiService, AuthService } from '../service'; export declare class ErrorInterceptor implements HttpInterceptor { private auth; private api; constructor(auth: AuthService, api: ApiService); intercept(request: HttpRequest, next: HttpHandler): Observable>; }