import { type TreeNode } from './WorldTree.js'; export declare class NodeMap { static readonly COMPOUND_ID_CHAR = "~"; static readonly DUPLICATE_ID_CHAR = "#"; private all; instances: { [id: string]: { [id: string]: TreeNode; }; }; duplicates: { [id: string]: { [id: string]: TreeNode; }; }; get nodeCount(): number; constructor(subtreeRoot: TreeNode); addNode(node: TreeNode): boolean; removeNode(node: TreeNode): boolean; getNodeById(id: string): TreeNode[] | null; getSubtreeById(id: string): TreeNode; hasId(id: string): boolean; hasNodeId(id: string): boolean; hasInstanceId(id: string): boolean; private registerInstance; private registerDuplicate; private registerNode; purge(): void; }