import type { ReactNode } from 'react';
import React from 'react';
import type { SystemComponentProps } from '../../types';
export declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
export declare type TextAreaOwnProps = Omit<React.ComponentPropsWithoutRef<'textarea'>, 'value' | 'onChange' | 'maxLength' | 'onClear'>;
export interface TextAreaProps extends SystemComponentProps<TextAreaOwnProps> {
    /** TextArea label */
    label: string;
    /** Unique id of the component */
    id: string;
    /** TextArea helper text */
    helperText?: ReactNode;
    /** TextArea char limit */
    charLimit?: number;
    /** onChange TextArea value event */
    onChange: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
    /** TextArea value */
    value: string | number;
    /** TextArea tone of voice
     * @default neutral
     */
    tone?: 'neutral' | 'critical';
    /**
     * TextArea critical message
     */
    criticalText?: string;
}
