export declare class Trie { words: number; empty: number; index: number; children: any; constructor(); insert(str: string, pos: number, idx: number): void; build(arr: string[]): void; searchOne(str: string, pos: number): any; search(str: string): any[]; } /** * 文案转 -> img * eg: /::) -> /::) * eg: [微笑] -> [微笑] * @param text * @returns */ export declare const emotionParser: (text?: string) => string;