import React from "react"; import type { WarpTextarea } from "./textarea.js"; import type { ChangeEventWithTarget, InputEventWithTarget } from "../types.js"; /** * A multi-line text input with built-in form validation, auto-resizing, and styling support. * * [Warp component reference](https://warp-ds.github.io/docs/components/text-area/frameworks/elements) */ export declare const Textarea: React.ForwardRefExoticComponent, "form" | "label" | "name" | "tooltip" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "onblur" | "onchange" | "onfocus" | "oninput" | "invalid" | "disabled" | "helpText" | "optional" | "minLength" | "maxLength" | "placeholder" | "readOnly" | "readonly" | "required" | "value" | "updated" | "firstUpdated" | "resetFormControl" | "_helptextstyles" | "_helpId" | "_id" | "_error" | "handler" | "helpTextSlotChange" | "render" | "validationTarget" | "internals" | "showError" | "validationMessage" | "validity" | "validationComplete" | "checkValidity" | "formResetCallback" | "valueChangedCallback" | "validityCallback" | "validationMessageCallback" | "setValue" | "shouldFormValueUpdate" | "renderOptions" | "onFocus" | "onBlur" | "onChange" | "onInput" | "reportValidity" | "setCustomValidity" | "maxRows" | "minRows" | "_textareaStyles"> & { onBlur?: ((e: FocusEvent) => void) | undefined; onblur?: ((e: FocusEvent) => void) | undefined; onChange?: ((e: ChangeEventWithTarget) => void) | undefined; onchange?: ((e: ChangeEventWithTarget) => void) | undefined; onInput?: ((e: InputEventWithTarget) => void) | undefined; oninput?: ((e: InputEventWithTarget) => void) | undefined; onFocus?: ((e: FocusEvent) => void) | undefined; onfocus?: ((e: FocusEvent) => void) | undefined; } & Partial> & React.RefAttributes, "ref">, "help-text" | "helpText" | "minlength" | "maxlength" | "read-only" | "maximum-rows" | "minimum-rows"> & { helpText?: string | React.ReactElement; maxRows?: number; minRows?: number; maxLength?: number; minLength?: number; readOnly?: boolean; } & React.RefAttributes>;