/** * Copyright IBM Corp. 2016, 2026 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React, { type ReactNode } from 'react'; import type { TranslateWithId } from '../../types/common'; declare const translationIds: { readonly 'carbon.text-area.counter.characters.remaining': "carbon.text-area.counter.characters.remaining"; readonly 'carbon.text-area.counter.words.remaining': "carbon.text-area.counter.words.remaining"; readonly 'carbon.text-area.counter.characters.max-reached': "carbon.text-area.counter.characters.max-reached"; readonly 'carbon.text-area.counter.words.max-reached': "carbon.text-area.counter.words.max-reached"; readonly 'carbon.text-area.counter.characters.limit': "carbon.text-area.counter.characters.limit"; readonly 'carbon.text-area.counter.words.limit': "carbon.text-area.counter.words.limit"; }; type TranslationKey = keyof typeof translationIds; type TranslationArgs = { count: number; maxCount: number; }; export interface TextAreaProps extends React.TextareaHTMLAttributes, TranslateWithId { /** * Provide a custom className that is applied to the wrapper node */ className?: string; /** * Specify the `cols` attribute for the underlying `