import React__default from 'react'; import { Editor as Editor$1, Descendant } from 'slate'; import { ThemeConfig } from 'antd/es/config-provider/context'; import { ContentProps } from '../Content/index.js'; import { ToolbarProps } from '../Toolbar/index.js'; import 'slate-react'; import '../Toolbar/Select.js'; import 'antd'; import 'antd/es/select'; interface EditorProps extends Omit, Omit { editor?: Editor$1; value: Descendant[]; onChange?: (value: Descendant[]) => void; theme?: ThemeConfig; className?: string; contentStyle?: React__default.CSSProperties; contentClassName?: string; toolbarStyle?: React__default.CSSProperties; toolbarClassName?: string; } /** * @description Editor, 包含toolbar工具栏和content编辑区 * @param {EditorProps} props * @return {*} */ declare function Editor(props: EditorProps): JSX.Element; declare const _default: React__default.MemoExoticComponent; export { EditorProps, _default as default };