export declare class TermNode> { type: string; id: number; rootNode: TNode; parentNode: TNode | null; previousSibling: TNode | null; nextSibling: TNode | null; childNodes: Array; firstChild(): TNode | null; lastChild(): TNode | null; appendTo(node: TNode): void; appendChild(node: TNode): void; insertBefore(node: TNode, referenceNode: TNode | null): void; protected linkBefore(node: TNode, referenceNode: TNode | null): void; removeChild(node: TNode): void; remove(): void; traverse(fn: (node: TNode, depth: number) => void, { depth, currentDepth }?: { depth?: number | undefined; currentDepth?: number | undefined; }): void; }