/**
 * @fileoverview Shared disk cache for expensive Office document previews.
 */
export declare function clearDocumentPreviewCache(): void;
/**
 * Best-effort LRU-ish eviction for the persistent converted-PDF cache: keeps at
 * most MAX_PREVIEW_CACHE_FILES `*.pdf` files in `cacheDir`, deleting the oldest
 * by mtime once over the cap. Never throws — a pruning failure must not fail the
 * conversion that triggered it. Only `*.pdf` files are considered, so the
 * transient `work-*` mkdtemp dirs are ignored.
 */
export declare function pruneDocumentPreviewCache(cacheDir: string): Promise<void>;
export declare function getOfficePreviewPdfPath(filePath: string, extension: string): Promise<string | null>;
export declare function getPreviewPdfDownloadName(fileName: string, extension: string): string;
//# sourceMappingURL=document-preview-cache.d.ts.map