import type { Printable } from '../print/types'; import type { ITreeNode } from '../types'; export declare class TrieNode implements ITreeNode, Printable { k: string; v: V; p: TrieNode | undefined; l: TrieNode | undefined; r: TrieNode | undefined; children: TrieNode | undefined; constructor(k: string, v: V); forChildren(callback: (child: TrieNode, index: number) => void): void; toRecord(prefix?: string, record?: Record): Record; toString(tab?: string): string; }