import React from 'react';
import { EditorState } from 'braft-editor';
import 'braft-editor/dist/index.css';
interface IBraftEditorProps {
    value?: string;
    onChange?: (value: string) => void;
}
interface IBraftEditorState {
    editorState: EditorState;
}
export default class BraftEditor extends React.Component<IBraftEditorProps, IBraftEditorState> {
    state: IBraftEditorState;
    static getDerivedStateFromProps(nextProps: IBraftEditorProps, prevState: IBraftEditorState): {
        editorState: any;
    } | null;
    handleEditorStateChange: (editorState: EditorState) => void;
    render(): React.JSX.Element;
}
export {};
