/** * 处理emoji,用于把用utf16编码的字符转换成实体字符 * @param {string} str - 需要编译/解析的字符串 * @param {'encode' | 'decode'} type - encode 编译 decode 转义 * @returns {string} 编译/解析后的字符串 * @example * * handleEmoji("😃", "encode"); * // => "😃" * handleEmoji("😊", "decode"); * // => "😊" */ export declare function handleEmoji(str?: string, type?: 'encode' | 'decode'): string;