import React from 'react'; export interface RichTextEditorProps { /** Display the input label */ label?: string; /** Input element name */ name: string; /** Input element placeholder text */ placeholder?: string; /** Value of the input */ value?: string; /** Whether or not the input is disabled */ disabled?: boolean; /** Whether or not the input is required */ required?: boolean; /** The input change event handler */ onChange?: (event: React.ChangeEvent) => void; /** The input focus event handler */ onFocus?: (event: React.FocusEvent) => void; /** The input blur event handler */ onBlur?: (event: React.FocusEvent) => void; /** An object with key as error message and value as predicate */ error?: Record; /** Max length of the input field */ maxLength?: number; /** Height of the textarea */ height?: number; /** Width of the textarea */ width?: string; /** Instruction */ instruction?: string; } declare const RichTextEditor: ({ disabled, error, label, maxLength, name, onChange, placeholder, required, height, width, instruction, value, onFocus, onBlur, ...other }: RichTextEditorProps & Omit, 'onChange' | 'onBlur' | 'onKeyPress' | 'onFocus'>) => JSX.Element; export default RichTextEditor;