import { MutableRefObject, default as React } from 'react'; import { TextareaProps } from '../..'; type DefaultProps = { /** * ID to find this component in testing tools (e.g.: cypress, testing library, and jest). */ testId?: string; /** * ID to identify textarea and corresponding label. */ id: string; /** * The text displayed to identify textarea. */ label: string; /** * The error message is displayed when an error occurs. */ error?: string; /** * Component's ref. */ textareaRef?: MutableRefObject; /** * Specifies that the whole textarea component should be disabled. */ disabled?: boolean; }; export type TextareaFieldProps = DefaultProps & Omit; declare const TextareaField: ({ id, label, error, placeholder, textareaRef, disabled, value, testId, ...otherProps }: TextareaFieldProps) => React.JSX.Element; export default TextareaField; //# sourceMappingURL=TextareaField.d.ts.map