import { Node as ProseMirrorNode, Schema } from 'prosemirror-model'; import { EditorState, Plugin } from 'prosemirror-state'; import React from 'react'; import { ReactEditorView } from '../hooks/useEditor'; export interface EditorProps { schema: Schema; initialDoc?: ProseMirrorNode; plugins?: Plugin[]; } export declare const useEditorView: () => ReactEditorView; export declare function useEditorState(mapState: (state: EditorState) => T): T | null; declare const EditorMemoized: React.NamedExoticComponent>; export { EditorMemoized as Editor }; //# sourceMappingURL=editor.d.ts.map