import { HttpClient } from '@angular/common/http'; import { BehaviorSubject } from 'rxjs'; import * as i0 from "@angular/core"; export interface CachePerformanceRequirements { minRam: number; minCores: number; } export interface CacheProfileConfig { maxSize: number; cleanupInterval: number; } export interface CacheProfile { requirements: CachePerformanceRequirements; config: CacheProfileConfig; } export interface CacheSettings { active: boolean; profiles: { [key: string]: CacheProfile; }; } export interface CacheConfig { pattern: string; cacheDuration: number; description: string; profile?: string; ignoreQueryParams?: boolean; } export interface CacheConfigResponse { cacheRoutes: CacheConfig[]; cacheSettings: CacheSettings; } export interface CacheError extends Error { status?: number; statusText?: string; } export declare class SCCacheConfigService { private http; private config; private settings; private systemRam; private systemCores; private currentProfile; config$: BehaviorSubject<{ isInitial: boolean; config: CacheConfig[]; }>; constructor(http: HttpClient); private determineActiveProfile; getCurrentMaxSize(): number; getCurrentCleanupInterval(): number; isProfileEnabled(profile?: string): boolean; getCurrentConfig(): CacheConfig[]; getSettings(): CacheSettings; getCurrentProfile(): string; setCacheConfig(config: CacheConfig[]): void; setCacheSettings(settings: CacheSettings): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }