export declare enum CacheDataType { Page = "Page", Constants = "Constants" } export default class Cache { #private; constructor(ttl: Record, maxEntries: Record); setTTL(type: CacheDataType, ttl: number): void; setMaxEntries(type: CacheDataType, maxEntries: number): void; getMaxEntries(type: CacheDataType): number; get(type: CacheDataType, key: string): T | undefined; put(type: CacheDataType, key: string, value: T): boolean; reduceEntries(type: CacheDataType, reduceTo?: number): void; getKeys(type: CacheDataType): string[]; clear(type?: CacheDataType): void; getOrSet(type: CacheDataType, key: string, promiseCallback: () => Promise): Promise; } //# sourceMappingURL=Cache.d.ts.map