/** * Validates a text area when showCharacterCount property has been set. * * @param {string} label The label to use in any error message. * @param {*} value The value to validate. * @param {string} showCharacterCount The flag to enable character count validation. * @param {array} customErrors An array of custom errors for the component. * @param {boolean} required If the component is required. * @param {number} maxLength The maximum allowable number of characters (by default, this is 1000 characters). * @returns An error if the value exceeds the maximum allowable number of characters. */ declare const validateTextArea: (label: any, value: any, showCharacterCount: any, customErrors: any, required: any, maxLength?: number) => any; export default validateTextArea;