import { PathCursor } from './path-cursor'; export type PathCacheEvictHandler = (cursor: PathCursor) => void; export declare class PathCache { private cache; private evictCb; constructor(size: number, evictCb: PathCacheEvictHandler | null); get(key: number): PathCursor | null; reset(): void; set(key: number, val: PathCursor): void; private setWithEvict; }