import { type TextareaHTMLAttributes } from 'vue'; import { type OUIAProps } from '../helpers/ouia'; interface Props extends OUIAProps, /* @vue-ignore */ Omit { /** Flag to show if the text area is disabled. */ disabled?: boolean; /** Flag to make the text area read only, without the read only styling */ readonly?: boolean; /** Sets the text area as read only and determines the read only styling. */ readOnlyVariant?: 'default' | 'plain'; /** Flag to modify height based on contents. */ autoResize?: boolean; /** Sets the orientation to limit the resize to */ resizeOrientation?: 'horizontal' | 'vertical' | 'both' | 'none'; /** Specifies a regular expression that the value should match */ pattern?: string | RegExp; /** Value of the text area. */ modelValue?: string | number | null; modelModifiers?: { number?: N; trim?: boolean; lazy?: boolean; }; /** Value to indicate if the text area is modified to show that validation state. * If set to success, text area will be modified to indicate valid state. * If set to error, text area will be modified to indicate error state. */ validated?: 'success' | 'warning' | 'error' | 'default'; /** When to validate the text area with the browser constraint validation, true for enter or submit */ autoValidate?: '' | 'blur' | 'input' | 'change' | 'enter' | boolean; /** Maximum height */ maxHeight?: string; /** Maximum width */ maxWidth?: string; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal & { onInput?: ((event: Event) => any) | undefined; onBlur?: ((event: FocusEvent) => any) | undefined; onChange?: ((event: Event) => any) | undefined; onInvalid?: ((event: Event) => any) | undefined; onKeyup?: ((event: KeyboardEvent) => any) | undefined; "onUpdate:validated"?: ((value: "success" | "error" | "warning" | "default") => any) | undefined; "onUpdate:modelValue"?: ((value: N extends true ? number : string) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: import("vue").ShallowUnwrapRef<{ input: Readonly>; focus: () => void; value: import("vue").ModelRef; checkValidity: () => boolean; innerValidated: import("vue").Ref; reportValidity: (once?: boolean) => boolean; setCustomValidity: (error: string) => void; }>) => void; attrs: any; slots: {}; emit: { (name: "change", event: Event): void; (name: "blur", event: FocusEvent): void; (name: "input", event: Event): void; (name: "invalid", event: Event): void; (name: "keyup", event: KeyboardEvent): void; (name: "update:modelValue", value: N extends true ? number : string): void; (name: "update:validated", value: "success" | "warning" | "error" | "default"): void; }; }>) => import("vue").VNode & { __ctx?: NonNullable>; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {}; //# sourceMappingURL=Textarea.vue.d.ts.map