import * as React from "react"; import { MdeState, Command } from "../types"; import { Editor, EditorState } from "draft-js"; export interface MdeEditorProps { className?: string; onChange: (value: EditorState) => void; editorRef?: (ref: MdeEditor) => void; placeholder?: string; editorState: MdeState; readOnly: boolean; } export declare class MdeEditor extends React.Component { editorRef: Editor; handleOnChange: (editorState: EditorState) => void; executeCastAsEditorState: (commandToExecute: Command, editorState: EditorState, data?: any) => EditorState; handleKeyCommand: (command: any, editorState: any) => "handled" | "not-handled"; handleTab: (event: any) => void; render(): JSX.Element; }