import type { Tree } from "web-tree-sitter"; export declare class AstCache { private map; private readonly capacity; constructor(capacity?: number); get(absolutePath: string, mtimeMs: number, size: number): Tree | null; set(absolutePath: string, tree: Tree, language: string, mtimeMs: number, size: number): void; invalidate(absolutePath: string): void; clear(): void; size(): number; } export declare const astCache: AstCache;