import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import { TokenService } from '../api'; /** * This interceptor adds the headers to all request. * * @export * @class HttpTokenInterceptor * @implements {HttpInterceptor} */ export declare class AuthorizationInterceptor implements HttpInterceptor { private readonly tokenService; constructor(tokenService: TokenService); intercept(req: HttpRequest, next: HttpHandler): Observable>; }