/**
 * Result (s) data of the Trie.find, Tried.findAll
 */ export interface TrieNodeData < T = number > { /**
     * The ending position of the original string.
     */ end : number ; /**
     * The additional value of a word in the trie.
     */ val : T ; } see https export interface Trie < T = number > { /**
     * Initialize a trie.
     */ init ( ) : void ; param str param v param start param end insert ( str , v , start ? , end ? ) : void ; param str param start param end match ( str , start ? , end ? ) : T | null ; param str param start param end hasPrefixMatched ( str , start ? , end ? ) : boolean ; param str param start param end find ( str , start ? , end ? ) : TrieNodeData < T > | null ; param str param start param end findAll ( str , start ? , end ? ) : Array < TrieNodeData < T > > ; }