import { type EventEmitter } from '../../stencil-public-runtime'; import type { InputFieldState } from '../diwa-input/types'; import type { Theme } from '../../utils/styles'; import type { TextareaResize } from './types'; /** * @slot label-after — Content placed after the label (e.g. a diwa-popover). * * @controlled {"props": ["value"], "event": "input"} */ export declare class DiwaTextarea { /** Visible label text. */ label: string; /** Supplementary description shown below the label. */ description: string; /** Validation state affecting border colour and message colour. */ state: InputFieldState; /** Feedback message shown when state is "error" or "success". */ message: string; /** The name attribute forwarded to the native textarea. */ name: string; /** Current value. Update in response to the input event. */ value: string; /** Placeholder text shown when the textarea is empty. */ placeholder: string; /** Whether the textarea is required. */ required: boolean; /** Whether the textarea is disabled. */ disabled: boolean; /** Whether the textarea is read-only. */ readOnly: boolean; /** Maximum character length. */ maxLength?: number; /** Minimum character length. */ minLength?: number; /** Number of visible text rows. */ rows: number; /** Controls which dimensions can be resized by the user. */ resize: TextareaResize; /** Renders a compact version with reduced padding and font size. */ compact: boolean; /** Hides the label visually (label is still in the DOM for screen readers). */ hideLabel: boolean; /** Adapts the color when used on a light or dark background. */ theme: Theme; /** Emitted on every keystroke. Detail contains the current value string. */ input: EventEmitter; /** Emitted when the textarea loses focus after value changes. */ change: EventEmitter; /** Emitted when the textarea receives focus. */ focus: EventEmitter; /** Emitted when the textarea loses focus. */ blur: EventEmitter; private handleInput; private handleChange; private handleFocus; private handleBlur; render(): any; } //# sourceMappingURL=diwa-textarea.d.ts.map