import { ComponentPropsWithRef, ReactNode } from 'react'; import { UseMessageProps } from '../shared/types'; type HTMLTextAreaProps = ComponentPropsWithRef<'textarea'>; export type InputTextAreaProps = HTMLTextAreaProps & UseMessageProps & { label: ReactNode; hideLabel?: boolean; inputSize?: 'medium' | 'large'; }; /** * - InputTextArea supports both controlled and uncontrolled patterns: * - **Controlled**: Provide `value` and `onChange` props. Use for inputs with complex interactions or when you need to programmatically control the value. * - **Uncontrolled**: Provide `defaultValue` prop and access the value via a ref. Use for simple forms or when integrating with form libraries like react-hook-form. * - Use title case for the required `label` (e.g., "Project Name", not "Project name"). * - The textarea will auto-expand to fit its content unless `rows` is specified. */ export declare const InputTextArea: import('react').ForwardRefExoticComponent & import('react').RefAttributes>; export default InputTextArea;