import { EventSpecResponse } from "./AvoEventSpecFetchTypes"; export declare class AvoEventSpecCache { private cache; private globalEventCount; static makeKey(apiKey: string, streamId: string, eventName: string): string; /** * Returns the cached EventSpecResponse, or undefined on cache miss. * A cached response with eventSpec: null means "no spec exists for this event". */ get(key: string): EventSpecResponse | undefined; /** * Returns true if the key exists in the cache and has not expired. */ contains(key: string): boolean; set(key: string, value: EventSpecResponse): void; flush(): void; private purgeExpired; private evictLRU; }