import { FieldControl } from '../interfaces'; import { AceEditorProps } from 'react-ace'; import 'brace/mode/text'; import 'brace/mode/markdown'; import 'brace/theme/github'; import 'brace/theme/terminal'; export declare type RichEditorConfiguration = { theme?: 'github' | 'terminal'; mode?: 'text' | 'markdown'; richEditorProps?: AceEditorProps; }; export declare const createRichTextEditor: (cfg: RichEditorConfiguration) => FieldControl;