import type { ComponentText, ComponentSizeWithXs } from '../../types/shared/props' export interface TextareaProps { rows?: string | number cols?: string | number size?: ComponentSizeWithXs error?: boolean | string readonly?: boolean disabled?: boolean autofocus?: boolean minLength?: number | string maxLength?: number | string trimOverflow?: boolean modelValue?: ComponentText placeholder?: string showWordLimit?: boolean | string wordLimitPosition?: 'inside' | 'outside' } export interface TextareaEmits { 'update:model-value': [NonNullable] change: [NonNullable] focus: [FocusEvent] blur: [FocusEvent] }