import type { ParsedDocument, CacheStats } from '../types/index.js'; /** * LRU Cache for parsed documents */ export declare class FileCache { private cache; private maxSize; private hits; private misses; constructor(maxSize?: number); /** * Gets a parsed document from cache or parses it */ get(filePath: string): Promise; /** * Sets a parsed document in the cache */ set(filePath: string, document: ParsedDocument): Promise; /** * Checks if a file is in the cache and up-to-date */ has(filePath: string): Promise; /** * Clears the entire cache */ clear(): void; /** * Removes a specific file from cache */ invalidate(filePath: string): void; /** * Gets cache statistics */ getStats(): CacheStats; /** * Gets cache hit rate as a percentage */ getHitRate(): number; } //# sourceMappingURL=file-cache.d.ts.map