import { ChangeEvent, FocusEvent, KeyboardEvent, RefObject } from 'react'; import CSS from 'csstype'; declare function TextAreaOnly(props: { className?: string; style?: CSS.Properties; placeholder?: string; onChange?: (value: string, e: ChangeEvent) => void; onFocus?: (e: FocusEvent) => void; onBlur?: (e: FocusEvent) => void; onKeyDown?: (key: string, e: KeyboardEvent) => void; fontSize?: string; textAreaRef?: RefObject; autoFocus?: boolean; onEnter?: () => void; onEscape?: () => void; defaultValue?: string; value?: string; bold?: boolean; rows?: number; cols?: number; gridArea?: string; borderRadius?: string; margin?: string; padding?: string; width?: string; height?: string; maxWidth?: string; minWidth?: string; maxHeight?: string; minHeight?: string; alignSelf?: string; }): JSX.Element; export default TextAreaOnly;