import type { Nullable } from "../../types/index.js"; export interface RadixNode { id: string; key: string; subWord: string; parent: Nullable; children: Record; docs: string[]; end: boolean; word: string; } export declare function create(end?: boolean, subWord?: string, key?: string): RadixNode; export declare function updateParent(node: RadixNode, parent: RadixNode): void; export declare function addDocument(node: RadixNode, docID: string): void; export declare function removeDocument(node: RadixNode, docID: string): boolean;