import React from 'react'; import '../../styles/base.module.css'; import { InputWrapperProps } from '../../internal/input-wrapper/InputWrapper'; export type TextAreaProps = Omit> & React.TextareaHTMLAttributes & { /** * The default textarea element value. Use when the component is not controlled */ defaultValue?: string; /** * Short hint displayed in the textarea before the user enters a value */ placeholder?: string; /** * Override or extend the styles applied to the component. See text field [tokens](https://city-of-helsinki.github.io/helsinki-design-system/components/text-field#tokens) for available CSS variables */ style?: React.CSSProperties; /** * The value of the textarea element, required for a controlled component */ value?: string; /** * The `ref` is forwarded to the native textarea element. */ ref?: React.Ref; }; export declare const TextArea: ({ className, disabled, defaultValue, errorText, helperText, hideLabel, invalid, id, label, onChange, required, style, successText, infoText, tooltip, ref, ...rest }: TextAreaProps) => React.JSX.Element;