export interface Options { spaceNum?: number; attrName?: string; } export declare const escapeHTML: (a: string) => string; /** * @function unescapeHTML 还原html脚本 < > & " ' * @param a - * 字符串 */ export declare const unescapeHTML: (a: string) => string; export interface XmlProps { attrStr?: string; childStr?: string; isBaseType: boolean; isArrayType: boolean; } export declare const genXml: (tagName: string, json: any, level: number, options?: Options) => XmlProps; export declare const json2xml: (json: any, options?: Options) => string; export declare const xmlToJson: (xml: string, options?: any) => any;