import React, { ReactNode, Ref, TextareaHTMLAttributes } from 'react';
import { FormElementProps } from './FormElement';
/**
*
*/
export type TextareaProps = {
label?: string;
required?: boolean;
error?: FormElementProps['error'];
cols?: number;
tooltip?: ReactNode;
tooltipIcon?: string;
elementRef?: Ref;
textareaRef?: Ref;
onValueChange?: (value: string, prevValue?: string) => void;
readOnly?: boolean;
htmlReadOnly?: boolean;
} & TextareaHTMLAttributes;
/**
*
*/
export declare const Textarea: React.FC & {
isFormElement: boolean;
};