import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http'; import 'rxjs/add/operator/retry'; import 'rxjs/add/operator/do'; import { Observable } from 'rxjs/Rx'; import { HttpCacheService } from '../../services/http-cache-service/http-cache.service'; export declare class CacheInterceptor implements HttpInterceptor { private cacheService; constructor(cacheService: HttpCacheService); checkCachingPermissions(req: HttpRequest): boolean; intercept(req: HttpRequest, next: HttpHandler): Observable>; }