import { EventEmitter } from '../../stencil-public-runtime'; import { FormControlState } from '../../utils/form-control'; /** * @component seki-textarea * @description A multi-line text input field with full form integration, accessibility support, * and consistent styling matching shadcn/ui patterns. * @example * * */ export declare class SekiTextarea { el: HTMLElement; internals: ElementInternals; private textareaEl?; private formControl?; /** * Current value of the textarea */ value?: string; /** * Placeholder text displayed when empty */ placeholder?: string; /** * Whether the textarea is disabled */ disabled: boolean; /** * Whether the textarea is readonly */ readonly: boolean; /** * Whether the textarea is required */ required: boolean; /** * Name attribute for form submission */ name?: string; /** * Number of visible text rows */ rows?: number; /** * Number of visible text columns */ cols?: number; /** * Minimum length of content */ minlength?: number; /** * Maximum length of content */ maxlength?: number; /** * Resize behavior of the textarea */ resize: 'none' | 'both' | 'horizontal' | 'vertical'; /** * Whether the textarea is in an invalid/error state */ invalid: boolean; /** * Accessible label for screen readers */ ariaLabel?: string; /** * ID of element describing this textarea */ ariaDescribedby?: string; /** * Text that describes this control. Set by `seki-field` from its description * (and error) slot, because an `aria-describedby` id cannot cross the shadow * boundary to the inner element (#358). */ ariaDescription?: string; /** Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ ariaInvalid?: string; /** * Autocomplete attribute */ autocomplete?: string; /** * Emitted on every keystroke */ sekiInput: EventEmitter<{ value: string; nativeEvent: Event; }>; /** * Emitted on blur or when content changes */ sekiChange: EventEmitter<{ value: string; nativeEvent: Event; }>; /** * Emitted on focus */ sekiFocus: EventEmitter<{ nativeEvent: FocusEvent; }>; /** * Emitted on blur */ sekiBlur: EventEmitter<{ value: string; nativeEvent: FocusEvent; }>; private handleInput; private handleChange; private handleFocus; private handleBlur; formResetCallback(): void; formDisabledCallback(disabled: boolean): void; formStateRestoreCallback(state: FormControlState): void; /** * Keep the inner textareaEl and the form in step with a programmatic `el.value = x` * without waiting for the next render, so `form.checkValidity()` and FormData * read the new value immediately. */ handleFormStateChange(): void; componentWillLoad(): void; componentDidRender(): void; render(): any; }