import { ElementType, FC, TextareaHTMLAttributes, ReactNode } from 'react';
import { StandardProps } from '@react-foundry/component-helpers';
import '../assets/Textarea.scss';
export type TextareaProps = StandardProps & TextareaHTMLAttributes & {
/** Error message */
error?: ReactNode;
/** Hint */
hint?: ReactNode;
/** Label */
label: ReactNode;
/** Caption for the section the question belongs to, shown above the label */
labelCaption?: ReactNode;
/** BEM style modifiers to apply to the label */
labelClassModifiers?: StandardProps['classModifiers'];
/** Component to wrap the label in, making it a heading */
labelHeading?: ElementType | undefined;
/** HTML name */
name: string;
/** Width of the field in characters (approximate) */
width?: number | undefined;
};
export declare const Textarea: FC;
export default Textarea;