import { HNDesignsystemTextArea } from '../../resources/Resources';
import { ErrorWrapperClassNameProps } from '../ErrorWrapper';
import { FormOnColor } from '../../constants';
export interface TextareaProps extends ErrorWrapperClassNameProps, Pick<React.InputHTMLAttributes<HTMLTextAreaElement>, 'aria-describedby' | 'autoFocus' | 'disabled' | 'name' | 'autoComplete' | 'placeholder' | 'readOnly' | 'required' | 'defaultValue' | 'onChange' | 'value'> {
    /** max character limit in textarea  */
    maxCharacters?: number;
    /** Width of textarea in characters (approximate) */
    width?: number;
    /** Sets the data-testid attribute. */
    testId?: string;
    /** If true, the component will have a bottom margin. */
    marginBottom?: boolean;
    /** If true, the component will be transparent. */
    transparent?: boolean;
    /** Changes the visuals of the textarea */
    onColor?: keyof typeof FormOnColor;
    /** Label of the input */
    label?: React.ReactNode;
    /** id of the textarea */
    textareaId?: string;
    /** max rows */
    maxRows?: number;
    /** min rows */
    minRows?: number;
    /** auto-grows until maxRows */
    grow?: boolean;
    /** Activates Error style for the input */
    error?: boolean;
    /** Error text to show above the component */
    errorText?: string;
    /** Error text id */
    errorTextId?: string;
    /** Resources for component */
    resources?: Partial<HNDesignsystemTextArea>;
    /** Ref passed to the component */
    ref?: React.Ref<HTMLTextAreaElement | null>;
}
declare const Textarea: React.FC<TextareaProps>;
export default Textarea;
