import { CommandEditor } from '../utils/withCommand.js'; import * as slate_history from 'slate-history'; import * as slate_react from 'slate-react'; import * as slate from 'slate'; import '../utils/constant.js'; import 'react'; /** * @description 获取最终 editor,注意:withCommand要放在最外层,确保可以使用其他插件的函数 * @export * @return {*} */ declare function useEditorState(): slate.BaseEditor & slate_react.ReactEditor & slate_history.HistoryEditor & CommandEditor; export { useEditorState };