import { Cache } from '../helpers/cache'; type FilePreviewCacheValue = { etag?: string; src?: string; size?: number; }; /** Build a cache key for a file, including its dimensions if provided. */ export declare function buildFilePreviewCacheKey(resourceId: string, dimensions?: [number, number]): string; /** Releases all cached previews of a resource. */ export declare function releaseFilePreviews(resourceIds: string[]): void; declare class CacheService { get filePreview(): Cache; } export declare const cacheService: CacheService; export {};