import type { FieldProps } from './_internal/components/Field/Field.types'; export interface TextareaResizeOptions { /** * It will automatically scroll the page down when it reaches the bottom of the viewport/element */ forceBrowserScroll: boolean; } export interface TextAreaProps extends FieldProps { /** * Value for the textarea element. */ modelValue?: string; /** * Deprecated. Use :model-value or v-model instead of :value. * @deprecated Use :model-value or v-model instead of :value. */ value?: string | number | null; /** * Allow textarea to be resizable vertically. * Alternatively if you want to disable automatic scroll when resizing, you can set `{ forceBrowserScroll: false }` */ resize?: boolean | TextareaResizeOptions; /** * Placeholder text for the textarea element. * **Note:** placeholders should be used to display examples; they should not be used as labels because they are not accessible as labels. If a real label cannot be used, use the `aria-label` attribute. */ placeholder?: string; /** * Number of rows to display in the textarea. */ rows?: number; /** * Maximum number of characters allowed in the textarea. */ maxlength?: number; } declare var __VLS_10: {}; type __VLS_Slots = {} & { hint?: (props: typeof __VLS_10) => any; }; declare const __VLS_base: import("vue").DefineComponent any; }, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:model-value"?: ((value: string) => any) | undefined; }>, { value: string | number | null; modelValue: string; resize: boolean | TextareaResizeOptions; placeholder: string; maxlength: number; rows: number; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };