import { TextareaHTMLAttributes } from 'react'; interface TextareaGenericProps extends TextareaHTMLAttributes { className?: string; } export interface TextareaWithUndefinedAutoHeightProps extends TextareaGenericProps { autoHeight?: never; maxHeight?: never; } export interface TextareaWithAutoHeightProps extends TextareaGenericProps { autoHeight: true; maxHeight?: string | number; } export interface TextareaWithoutAutoHeightProps extends TextareaGenericProps { autoHeight: false; maxHeight?: never; } export type TextareaProps = TextareaWithAutoHeightProps | TextareaWithoutAutoHeightProps | TextareaWithUndefinedAutoHeightProps; export declare const Textarea: import("react").ForwardRefExoticComponent>; export {};