import { LitElement, type PropertyValues } from 'lit'; import { type NuiType } from '../../types/nui-type.js'; import { type NuiTextareaViewState } from './logic.js'; import type { TextareaSize, TextareaVariant, NuiTextareaEventMap } from './types.js'; export type { NuiTextareaEventMap }; export declare class NuiTextarea extends LitElement implements NuiTextareaViewState { value: string; placeholder: string; disabled: boolean; readonly: boolean; invalid: boolean; required: boolean; name: string; textareaId: string; ariaLabel: string; ariaLabelledby: string; autocomplete: string; maxlength: number; minlength: number; rows: number; cols: number; autoResize: boolean; size: TextareaSize | ''; variant: TextareaVariant | ''; fluid: boolean; unstyled: boolean; nuiType: NuiType; textareaClass: string; private resizeObserver; protected createRenderRoot(): DocumentFragment | HTMLElement; protected firstUpdated(): void; protected updated(changed: PropertyValues): void; disconnectedCallback(): void; private getTextarea; private setupAutoResize; private resize; private handleInput; private handleChange; render(): import("lit-html").TemplateResult; } export interface NuiTextarea { addEventListener( type: K, listener: (this: NuiTextarea, ev: NuiTextareaEventMap[K]) => void, options?: boolean | AddEventListenerOptions, ): void; addEventListener( type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions, ): void; removeEventListener( type: K, listener: (this: NuiTextarea, ev: NuiTextareaEventMap[K]) => void, options?: boolean | AddEventListenerOptions, ): void; removeEventListener( type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions, ): void; } declare global { interface HTMLElementTagNameMap { 'nui-textarea': NuiTextarea; } } //# sourceMappingURL=nui-textarea.d.ts.map