export declare class TrieNode { #private; constructor(); set wordEnd(value: boolean); get wordEnd(): boolean; get children(): Map; isEmpty(): boolean; } /** * @license MIT * @copyright 2024 Thinh Trinh Duc * * @class */ export declare class Trie { #private; constructor(...words: string[]); static fromArray(words: string[]): Trie; /** * Total node in the trie including the root node. */ get nodeCount(): number; /** * Total word in the trie. */ get wordCount(): number; [Symbol.iterator](): Generator; insert(word: string): this; remove(word: string): this; has(word: string): boolean; startsWith(word: string): boolean; toArray(): string[]; clear(): this; } //# sourceMappingURL=trie.d.ts.map