/** * Mnemonist Trie Typings * ======================= */ export default class Trie implements Iterable { // Members size: number; // Constructor constructor(Token?: new () => T); // Methods clear(): void; add(prefix: T): this; delete(prefix: T): boolean; has(prefix: T): boolean; find(prefix: T): Array; prefixes(): IterableIterator; keys(): IterableIterator; [Symbol.iterator](): IterableIterator; inspect(): any; // Statics static from(iterable: Iterable | {[key: string]: I}): Trie; }