import { StorageService } from '../storage/storage.service'; import { Router } from '@angular/router'; import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http'; import { Observable } from 'rxjs'; export declare class ErrorInterceptorService implements HttpInterceptor { private storageService; private router; constructor(storageService: StorageService, // -> authService router: Router); intercept(request: HttpRequest, next: HttpHandler): Observable>; }