import { ReactNode } from 'react';
import { BoxProps } from '../box/Box';
import { InputBaseProps } from './InputBase';
import { GenericComponent } from '../../@types/types';
interface TextareaProps extends Omit<InputBaseProps, 'ref' | 'type'>, Omit<BoxProps, 'size' | 'ref'> {
    /** The text to use as error message below the input. */
    error?: boolean | ReactNode;
    /** The text to use as help text below the input. */
    helpText?: string;
    /** The text string/element to use as success message below the input. */
    success?: boolean | ReactNode;
    /** The text to use as warning message below the input. */
    warning?: boolean | ReactNode;
}
declare const Textarea: GenericComponent<TextareaProps>;
export default Textarea;
