/**
 * Represents a Trie (prefix tree).
 */
export declare class Trie {
    private root;
    /**
     * Inserts a word into the Trie.
     * @param {string} word - The word to insert.
     */
    insert(word: string): void;
    /**
     * Searches for a word in the Trie.
     * @param {string} word - The word to search for.
     * @returns {boolean} True if found, false otherwise.
     */
    search(word: string): boolean;
}
