UNPKG

koishi-plugin-adapter-iirose

Version:
13 lines (12 loc) 374 B
/** * 将字符串编码为其HTML实体表示。 * @param str 要编码的字符串。 * @returns 编码后的字符串。 */ export declare function encode(str: string): string; /** * 将HTML实体字符串解码为其原始表示。 * @param str 要解码的字符串。 * @returns 解码后的字符串。 */ export declare function decode(str: string): string;