import type { Ast } from '../parser/types'; export declare class Cache { private cache; private firstEntry; private lastEntry; private _size; private maxSize; constructor(maxSize: number | null); getContent(): Record; get size(): number; get(key: string): Ast | undefined; clear(): void; has(key: string): boolean; set(key: string, value: Ast): void; private dropFirstEntry; }