import { HTMLProps } from 'react';
interface TextAreaBase extends HTMLProps {
error?: boolean;
helperText?: string;
locked?: boolean;
onChange?: (event: React.ChangeEvent) => void;
translations?: {
remaining: string;
over: string;
};
}
interface TextAreaWithPlaceholder extends TextAreaBase {
placeholder: string;
}
interface TextAreaWithLabel extends TextAreaBase {
label: string;
}
export type TextAreaProps = TextAreaWithPlaceholder | TextAreaWithLabel;
export declare const TextArea: {
({ disabled, error, helperText, id, label, locked, maxLength, placeholder, required, onChange, translations, ...rest }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export declare function getTextAreaClassName(props?: Pick): {
className: string;
};
export declare function getAriaDescribedBy(id: string, props?: Pick): {
"aria-describedby": string;
};
export {};