import * as React from 'react';
import { Gemstone } from '@gpa-gemstone/application-typings';
export interface IProps<T> extends Gemstone.TSX.Interfaces.IBaseFormProps<T> {
    /**
      * Number of rows for the textarea
      * @type {number}
    */
    Rows: number;
    /**
      * Function to determine the validity of a field
      * @param field - Field of the record to check
      * @returns {boolean}
    */
    Valid: (field: keyof T) => boolean;
    /**
      * Feedback message to show when input is invalid
      * @type {string}
      * @optional
    */
    Feedback?: string;
    /**
      * Help message or element to display
      * @type {string | JSX.Element}
      * @optional
    */
    Help?: string | JSX.Element;
    /**
     * Optional reference to internal text area for features like autocomplete.
     * @type {React.RefObject<HTMLTextAreaElement>}
     * @optional
     */
    TextAreaRef?: React.RefObject<HTMLTextAreaElement>;
    /**
     * Optional setting to enable/disable spellcheck.
     * @type {boolean}
     * @optional
     */
    SpellCheck?: boolean;
}
export default function TextArea<T>(props: IProps<T>): JSX.Element;
