/** * @function safeHtml(html) 过滤非法html内容 * @param {string} html 要过滤的html内容 * @param {object} [options] 过滤时的配置项, 参考https://www.npmjs.com/package/dompurify * @returns {string} 返回过滤后的html */ export declare function safeHtml(html: any, options?: {}): any; export declare const findClosestBySelector: (element: HTMLElement, selector: string) => HTMLElement;