import { default as React } from 'react';
import { BaseProps } from '../../../libraries/common-types/src/common-types';
export declare const ResizeOption: {
    readonly NONE: "none";
    readonly BOTH: "both";
    readonly HORIZONTAL: "horizontal";
    readonly VERTICAL: "vertical";
};
export type ResizeOption = (typeof ResizeOption)[keyof typeof ResizeOption];
export type TextAreaProps = Omit<BaseProps<"textarea">, "id"> & {
    id: string;
    /**
     * Use to render error message below the text area. The text area renders with error appearance.
     * */
    errorText?: string;
    /**
     * Use to give context about the text area's input. Renders below the text area.
     * */
    helperText?: string;
    /**
     * The label of the text area.
     * */
    label?: string;
    /**
     * The height of the text area, measured in number of rows.
     * */
    rows?: number;
    /**
     * The width of the text area, measured in number of cols.
     * */
    cols?: number;
    /**
     * Controls whether the text area can be resized, and in which direction.
     * */
    resize?: ResizeOption;
};
export declare const TextArea: React.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
//# sourceMappingURL=text-area.d.ts.map