import { HttpContextToken, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { OnDestroy } from '@angular/core'; import { Observable } from 'rxjs'; import { SCCacheConfigService } from '../core/sc-cache-config.service'; import * as i0 from "@angular/core"; export declare const FORCE_UPDATE: HttpContextToken; export declare const ENABLE_CACHE: HttpContextToken; export declare const SKIP_CACHE: HttpContextToken; export declare const CACHE_DURATION: HttpContextToken; export declare class CacheInterceptor implements HttpInterceptor, OnDestroy { private scCacheConfigService; private cache; private isConfigLoaded; private isCacheActive; private configSubscription; private cleanupInterval; constructor(scCacheConfigService: SCCacheConfigService); ngOnDestroy(): void; intercept(request: HttpRequest, next: HttpHandler): Observable>; private findMatchingCacheConfig; private convertPatternToRegex; private getCacheKey; private getValidCachedResponse; private handleForceUpdate; private manageCacheSize; getCacheStats(): { size: number; entries: Array<{ url: string; age: number; hits: number; }>; }; clearCacheForPattern(pattern: string): void; clearExpiredCache(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }