import { PropType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import { LabelInputSize, LabelInputType, ValidationRule } from './types'; declare function __VLS_template(): { attrs: Partial<{}>; slots: { prefix?(_: {}): any; suffix?(_: {}): any; }; refs: { inputRef: HTMLInputElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: DefineComponent; default: string; }; /** 输入框尺寸 */ size: { type: PropType; default: string; }; /** 占位提示文字 */ placeholder: { type: StringConstructor; default: string; }; /** 是否禁用 */ disabled: { type: BooleanConstructor; default: boolean; }; /** 是否只读 */ readonly: { type: BooleanConstructor; default: boolean; }; /** 是否必填 */ required: { type: BooleanConstructor; default: boolean; }; /** 验证规则 */ rules: { type: PropType; default: () => never[]; }; /** 输入框ID */ id: { type: StringConstructor; default: string; }; }>, { focus: () => void; blur: () => void; validate: () => boolean; inputRef: Ref; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { input: (value: string) => any; blur: (event: FocusEvent) => any; focus: (event: FocusEvent) => any; keydown: (event: KeyboardEvent) => any; keypress: (event: KeyboardEvent) => any; keyup: (event: KeyboardEvent) => any; "update:modelValue": (value: string) => any; }, string, PublicProps, Readonly< ExtractPropTypes<{ /** 绑定值 */ modelValue: { type: (StringConstructor | NumberConstructor)[]; default: string; }; /** 标签文本 */ label: { type: StringConstructor; default: string; }; /** 输入框类型 */ type: { type: PropType; default: string; }; /** 输入框尺寸 */ size: { type: PropType; default: string; }; /** 占位提示文字 */ placeholder: { type: StringConstructor; default: string; }; /** 是否禁用 */ disabled: { type: BooleanConstructor; default: boolean; }; /** 是否只读 */ readonly: { type: BooleanConstructor; default: boolean; }; /** 是否必填 */ required: { type: BooleanConstructor; default: boolean; }; /** 验证规则 */ rules: { type: PropType; default: () => never[]; }; /** 输入框ID */ id: { type: StringConstructor; default: string; }; }>> & Readonly<{ onInput?: ((value: string) => any) | undefined; onBlur?: ((event: FocusEvent) => any) | undefined; onFocus?: ((event: FocusEvent) => any) | undefined; onKeydown?: ((event: KeyboardEvent) => any) | undefined; onKeypress?: ((event: KeyboardEvent) => any) | undefined; onKeyup?: ((event: KeyboardEvent) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; }>, { label: string; readonly: boolean; size: LabelInputSize; type: LabelInputType; required: boolean; disabled: boolean; placeholder: string; modelValue: string | number; rules: ValidationRule[]; id: string; }, {}, {}, {}, string, ComponentProvideOptions, true, { inputRef: HTMLInputElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };