import { type MediaFilePreview } from '../types'; export declare const PREVIEW_CACHE_LRU_SIZE = 50; export declare class ObjectURLCache { private readonly cache; private readonly activeRefs; constructor(size: number); /** * Marks a cache key as actively in use by a consumer. * Multiple consumers can acquire the same key; eviction is * blocked until all consumers have released it. */ acquire(key: string): void; release(key: string): void; private isInUse; has(key: string): boolean; get(key: string): MediaFilePreview | undefined; set(key: string, value: MediaFilePreview): void; remove(key: string): void; clear(): void; } export declare const createObjectURLCache: () => ObjectURLCache;