import { Editor } from 'slate'; import { ReactEditor } from '5e-slate-react'; import { HistoryEditor } from 'slate-history'; export declare type EditorType = Editor & ReactEditor & HistoryEditor; export declare type EditorContextProps = { editor: EditorType; }; export declare type KeyboardEventProcessor = (editor: EditorContextProps, format: string) => void | false; export declare type EditorDecorator = (editor: EditorType) => EditorType;