import * as slate from 'slate'; declare const mapElementToJSON: Record; declare const mapMarkToJSON: Record; /** * @description 判断是否是换行node节点:在DOM中,块级元素之间会存在一个换行符,有的浏览器会将它解释为#text节点 * @export * @param {Node} node * @returns {boolean} */ declare const isFragmentWrapTextNode: (node: Node) => boolean; /** * @description 反序列化:将 HTML 解析成 JSON * @export * @param {Node} el * @returns {*} */ declare const deserialize: (el: Node) => string | any[] | slate.CustomElement | null; export { deserialize, isFragmentWrapTextNode, mapElementToJSON, mapMarkToJSON };