/// import React from "react"; import { EditorState, DraftEditorCommand, ContentBlock } from "draft-js"; interface RichTextEditorProps { } interface RichTextEditorState { editorState: EditorState; } declare class RichTextEditor extends React.Component { constructor(props: RichTextEditorProps); onChange: (editorState: EditorState) => void; handleKeyCommand(command: DraftEditorCommand, editorState: EditorState): "not-handled" | "handled"; _onBoldClick(): void; _onLinkClick(): void; _onEmojiClick(e: React.MouseEvent, emojiCode: string): void; _onCheckRange(): void; defaultBlockStyleFn(contentBlock: ContentBlock): string; defaultBlockRenderFn(contentBlock: ContentBlock): ContentBlock; render(): JSX.Element; } export { RichTextEditor as default };