import { ComponentProps } from "react"; export interface NvTextAreaProps extends ComponentProps<"textarea"> { /** If true, the textarea should grow in height (instead of showing the scrollbar) to accommodate new content when it is about to overflow. */ autoGrow?: boolean; /** The autoCapitalize attribute of the textarea element. */ autocapitalize?: string; /** The autoFocus attribute of the textarea element. */ autofocus?: boolean; /** The cols attribute of the textarea element. */ cols?: number; /** The id attribute of the textarea element. */ innerId?: string; /** If true, the border of the textarea is red. */ invalid?: boolean; /** If the content reaches this number of rows, the scrollbar will show up. Applies only when the autoGrow is true. */ maxRows?: number; /** The maxLength attribute of the textarea element. */ maxlength?: number; /** The minLength attribute of the textarea element. */ minlength?: number; /** If true, the native drag handle of the textarea element is hidden. */ noHandle?: boolean; /** The readOnly attribute of the textarea element. */ readonly?: boolean; /** The rows attribute of the textarea element. */ rows?: number; /** The spellCheck attribute of the textarea element. */ spellcheck?: boolean; /** The value attribute of the textarea element. */ value?: string; /** The additional CSS class for the textarea element. */ className?: string; } /** * Functional component for a custom text area with auto-growing feature and various configurable props. * * @param {string} autocapitalize - The autocapitalize attribute for the textarea. * @param {boolean} autoGrow - Determines if the textarea should grow in height based on content. * @param {boolean} autofocus - Determines if the textarea should be focused on render. * @param {number} cols - The number of columns for the textarea. * @param {string} innerId - The inner ID for the textarea. * @param {boolean} invalid - Determines if the textarea is in an invalid state. * @param {number} maxRows - The maximum number of rows the textarea can have. * @param {number} maxlength - The maximum length of the textarea value. * @param {number} minlength - The minimum length of the textarea value. * @param {boolean} noHandle - Determines if the textarea should have a resize handle. * @param {boolean} readonly - Determines if the textarea is read-only. * @param {number} rows - The number of rows for the textarea. * @param {boolean} spellcheck - Determines if spellcheck is enabled for the textarea. * @param {string} value - The value of the textarea. * @param {string} className - The additional CSS class for the textarea element. * * @returns {JSX.Element} A textarea element with customized behavior based on the provided props. */ declare const NvTextArea: ({ autocapitalize, autoGrow, autofocus, cols, innerId, invalid, maxRows, maxlength, minlength, noHandle, readonly, rows, spellcheck, value, className, ...nativeProps }: NvTextAreaProps) => import("react/jsx-runtime").JSX.Element; export default NvTextArea;