import type { Asset } from '../core/types'; export declare class IncrementalCache { private readonly cachePath; private data; private hits; private misses; constructor(cachePath: string, enabled: boolean, toolVersion?: string); /** Returns cached assets if the file is unchanged, else null. */ get(relPath: string, absPath: string, content: string): Asset[] | null; set(relPath: string, absPath: string, content: string, assets: Asset[]): void; /** Drop entries for files that no longer exist. */ prune(livePaths: Set): void; flush(): void; get stats(): { hits: number; misses: number; }; private mtime; } export declare function cachePathFor(root: string, outDir: string): string;