import * as React from 'react';
import { P as PositionType } from '../commonTypes-BtF87PmG.js';

type LabelProps = {
    hint?: React.ReactNode;
    hintSide?: PositionType;
    htmlFor?: string;
    required?: boolean;
};

interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
    helperText?: any;
    isLoading?: boolean;
    /** The label of the input field   */
    label?: any;
    labelProps?: LabelProps;
    forceHideHelperText?: boolean;
    textareaProps?: React.TextareaHTMLAttributes<HTMLTextAreaElement>;
    showCount?: boolean;
    countPosition?: "top" | "bottom";
    classNames?: {
        textarea?: string;
    };
}
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;

export { Textarea, type TextareaProps };
