import { FunctionComponent } from 'react'; import { EditorTheme } from '../../types/editor-theme'; import { EditorStyleConfig } from '../../types/editor-style'; import { EditorConfig } from '../../types/editor-config'; import { Addon } from '../../types/addon'; import { ProsemirrorDoc } from '../../types/prosemirror'; interface EditorProps { addons?: Addon[]; autoFocus?: boolean; config?: EditorConfig; defaultValue?: ProsemirrorDoc; licenseKey?: string; onChange?: (doc: ProsemirrorDoc) => void; spellCheck?: boolean; styleConfig?: EditorStyleConfig; theme?: EditorTheme; } declare const Editor: FunctionComponent; export default Editor;