import { WithDeserializeHTMLOptions } from '@udecode/slate-plugins';
import { SPEditor, WithOverride } from '@udecode/slate-plugins-core';
import { ReactEditor } from 'slate-react';
declare const withDeserializeHTML: <T extends ReactEditor & SPEditor = ReactEditor & SPEditor>({ plugins, ...options }?: WithDeserializeHTMLOptions<T>) => WithOverride<T, {}>;
export default withDeserializeHTML;
/**
 * 格式记录
微信直接复制：text
直接浏览器复制：text
如流
[
    {
        "type": "p",
        "children": [{"text": "http://localhost:3000/osc/workspaces/TEST1209/boards/ab4bc5e0-bd93-456f-bbae-e9dee0ea4464"}]
    },
    {
        "type": "p",
        "children": [{"text": "\n\n\n"} ]
    }
]
word
1. 本身带link样式，直接为a标签形式
[{
    "type": "p",
    "children": [{
        "type": "a",
        "url": "https://github.com/moriahq/proxima-core/pull/982/files",
        "children": [{
                "text": "https://github.com/moriahq/proxima-core/pull/982/files",
                "underline": true
        }]
    }]
}]
2. 本身为文本输入
[
    {
        "type": "p",
        "children": [
            {
                "text": "https://baidu.com"
            }
        ]
    }
]

直接从富文本复制
[
    {
        "text": "http://localhost:3000/osc/workspaces/TEST1209/boards/ab4bc5e0-bd93-456f-bbae-e9dee0ea4464"
    }
]
VScode
[
    {
        "text": "https"
    },
    {
        "text": ":"
    },
    {
        "text": "//github.com/moriahq/proxima-core/pull/982/files"
    }
]
 */
