import type { ComponentProps } from 'react';
import type { GDSComponentProps } from '@graphprotocol/gds-css';
import { type FieldProps } from './base/Field.tsx';
import type { TextAreaMeta } from './TextArea.meta.ts';
export interface TextAreaProps extends Omit<ComponentProps<'textarea'>, 'onChange' | 'children'>, GDSComponentProps<typeof TextAreaMeta> {
    label?: FieldProps['label'] | undefined;
    description?: FieldProps['description'] | undefined;
    placeholder?: string | undefined;
    name?: string | undefined;
    value?: string | undefined;
    defaultValue?: string | undefined;
    onChange?: ((value: string) => void) | undefined;
    maxLength?: number | undefined;
    /** @default false */
    disabled?: boolean | undefined;
    /** @default false */
    readOnly?: boolean | undefined;
    status?: FieldProps['status'] | undefined;
    message?: FieldProps['message'] | undefined;
}
export declare function TextArea({ size, label, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, description, placeholder, name, value: controlledValue, defaultValue, onChange, maxLength, disabled, readOnly, status, message, className, ...props }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=TextArea.d.ts.map