import type { FC, ChangeEventHandler, FocusEventHandler } from 'react'; import type { BaseProps, ForwardProps, NoChildrenProp, TestIdProp } from '../../types'; import type { FormControlProps } from '../FormControl'; export interface TextAreaProps extends FormControlProps, BaseProps, NoChildrenProp, TestIdProp { /** Minimum length of characters that can be input. */ minLength?: number; /** Maximum length of characters that can be input. */ maxLength?: number; /** * Allows the user to resize the Text Area. This prop is ignored if autoResize is true. * @default false */ resizable?: boolean; /** * Enables the Text Area to resize itself automatically. * @default true */ autoResize?: boolean; /** * Display a live character count in relation to the maxLength. * @default false */ displayCharCount?: boolean; /** * Allow or disallow a value beyond the maxLength. * @default true */ hardStop?: boolean; onChange?: ChangeEventHandler; onFocus?: FocusEventHandler; onBlur?: FocusEventHandler; } declare const _default: FC & { getTestIds: (testIdProp?: TestIdProp["testId"]) => import("../../types").TestIdsRecord; }; export default _default; //# sourceMappingURL=TextArea.d.ts.map