declare class TrieNode { value: string; isEndOfWord: boolean; children: TrieNode[]; constructor(value: string, isEndOfWord: boolean, children: TrieNode[]); } export declare class Trie { readonly rootNode: TrieNode; constructor(words?: string[]); addWordToTrie(word: string): void; addWordsToTrie(words: string[]): void; private addToTrieHelper; getEligibleWords(word: string): string[]; getStartingNode(word: string, currentNode: TrieNode, index: number): { startingNode: TrieNode; index: number; } | false; } export {};