import React from 'react'; import { IGlobalAttributes } from '../../core'; import { ControlSkeletonProps } from '../control-skeleton'; export declare enum TextareaResize { None = "none", Vertical = "vertical", Horizontal = "horizontal", Both = "both" } export interface TextareaProps extends IGlobalAttributes, Omit { name?: string; inputClassName?: string; autoComplete?: string; autoFocus?: boolean; autoSelectOnFocus?: boolean; disabled?: boolean; required?: boolean; cols?: number; rows?: number; minLength?: number; maxLength?: number; placeholder?: string; value?: string | string[] | number; defaultValue?: string | string[] | number; form?: string; wrap?: 'soft' | 'hard'; resize?: TextareaResize; containerReference?: React.Ref; onChange?: React.ChangeEventHandler; onSelect?: React.ReactEventHandler; } export interface TextareaViewProps extends Omit { isFocused?: boolean; containerTabIndex?: number; onContainerFocus?: React.FocusEventHandler; } export declare const TextareaView: React.ForwardRefExoticComponent>; export declare const Textarea: React.ForwardRefExoticComponent>;