import { useEditor } from "../hooks/useEditor.js"; import { useEditorState } from "../hooks/useEditorState/index.js"; import { EditorPlugin, EditorProps } from "./type.js"; import { withProps } from "./utils.js"; import { ReactNode } from "react"; interface IEditor { (props: EditorProps): ReactNode; useEditor: typeof useEditor; useEditorState: typeof useEditorState; withProps: typeof withProps; } declare const Editor: IEditor; export { EditorPlugin, EditorProps, Editor as default, withProps };