import { ExtractPropTypes, PropType } from 'vue'; import { SizeT, RoundT, VariantT, Color2T } from '../_utils/types'; export declare const textareaProps: { /** * @zh-CN 尺寸 * @en-US Size */ size: { type: PropType; }; /** * @zh-CN 圆角 * @en-US Round */ round: { type: PropType; }; /** * @zh-CN 颜色类型 * @en-US Color type */ color: { type: PropType; default: string; }; /** * @zh-CN 形状变体 * @en-US Shape variant */ variant: { type: PropType; default: string; }; modelValue: { type: StringConstructor; }; defaultValue: { type: StringConstructor; }; placeholder: { type: StringConstructor; }; disabled: { type: BooleanConstructor; }; readonly: { type: BooleanConstructor; }; clearable: { type: BooleanConstructor; }; format: { type: PropType<(value: string) => string>; }; validate: { type: PropType<(value: string) => boolean>; }; valueOnInvalidChange: { type: PropType string)>; }; rows: { type: NumberConstructor; default: number; }; cols: { type: NumberConstructor; default: undefined; }; resize: { type: PropType; default: string; }; minLength: { type: NumberConstructor; }; maxLength: { type: NumberConstructor; }; showLength: { type: PropType<"always" | "auto" | "never">; default: string; }; getLength: { type: PropType<(val: string) => number>; }; inputOnOutlimit: { type: BooleanConstructor; default: boolean; }; autoSize: { type: BooleanConstructor; }; textareaId: { type: StringConstructor; }; scrollbar: { type: PropType>; default: boolean; }; }; export type TextareaPropsT = ExtractPropTypes;