import * as react_jsx_runtime from 'react/jsx-runtime';
import { TextareaHTMLAttributes } from 'react';
import { LabelProps } from './Label.mjs';

type TextareaProps = {
    /** Outside the area */
    label?: Omit<LabelProps, 'id'>;
    /** Inside the area */
    headline?: string;
    id?: string;
    resizable?: boolean;
    onChange?: (text: string) => void;
    disclaimer?: string;
    onEditCompleted?: (text: string) => void;
    defaultStyle?: boolean;
} & Omit<TextareaHTMLAttributes<Element>, 'id' | 'onChange'>;
/**
 * A Textarea component for inputting longer texts
 *
 * The State is managed by the parent
 */
declare const Textarea: ({ label, headline, id, resizable, onChange, disclaimer, onBlur, onEditCompleted, defaultStyle, className, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;

export { Textarea, type TextareaProps };
