import React, { SyntheticEvent } from 'react'; import { TBaseInputProps, TBaseProps } from '../types'; import '../styles/controls/TextEditor.scss'; import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css'; declare type TextEditorProps = TBaseProps & TBaseInputProps & { onBlur?(e: SyntheticEvent): void; onChange?(value: string): void; onFocus?(e: SyntheticEvent): void; toolbarConfig?: Record; }; export declare const TextEditor: React.MemoExoticComponent<({ className, onFocus, onChange, onBlur, toolbarConfig, disabled, visible, value, }: TextEditorProps) => JSX.Element | null>; export {};