import { TagFunctions } from './internal.js'; interface CachedFunctions { lastUsed: number; usedCount: number; tagFunctions: TagFunctions; } export declare function setTagFunctionCacheSize(newCacheSize: number): void; export declare function getOrPutWrapCache(values: T, creator: () => TagFunctions): TagFunctions; export declare function getOrPutClassesCache(classes: string[], creator: () => TagFunctions): TagFunctions; export declare function maybeScheduleCacheReduction(cache: Map): void; /** * Exported for unit tests only */ export declare function reduceCache(cache: Map): void; /** * For unit tests only */ export declare function clearBothCaches(): void; /** * For unit tests only */ export declare function wrapCacheSize(): number; /** * For unit tests only */ export declare function classesCacheSize(): number; export {}; //# sourceMappingURL=cache.d.ts.map