import React from 'react'; import { DefaultElement } from "../../common/type"; import './CommentEditor.less'; export interface CommentEditorProps { value: DefaultElement[]; onChange?: (value: DefaultElement[]) => void; onSubmit?: () => void; onBlur?: () => void; placeholder?: string; className?: string; } export interface CommentEditorImperativeHandle { focusEditor: () => void; isEmpty: () => boolean; } export declare const CommentEditor: React.ForwardRefExoticComponent>;