import type { FormRule } from './form'; import type { ValidateStatus } from './form-item'; import { type ComponentThemeVars } from '@yh-ui/theme'; declare var __VLS_1: {}, __VLS_3: {}; type __VLS_Slots = {} & { label?: (props: typeof __VLS_1) => any; } & { default?: (props: typeof __VLS_3) => any; }; declare const __VLS_component: import("vue").DefineComponent; readonly default: ""; }; readonly required: { readonly type: BooleanConstructor; readonly default: false; }; readonly rules: { readonly type: import("vue").PropType; readonly default: () => never[]; }; readonly showMessage: { readonly type: BooleanConstructor; readonly default: true; }; readonly size: { readonly type: import("vue").PropType<"large" | "default" | "small">; readonly default: ""; }; readonly validateTrigger: { readonly type: import("vue").PropType; readonly default: ""; }; readonly errorPosition: { readonly type: import("vue").PropType<"left" | "center" | "right">; readonly default: "left"; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly validateStatus: { readonly type: import("vue").PropType; readonly default: ""; }; readonly error: { readonly type: StringConstructor; readonly default: ""; }; readonly themeOverrides: { readonly type: import("vue").PropType; readonly default: undefined; }; }>, { validate: (trigger?: string, callback?: (isValid: boolean) => void) => Promise; resetField: () => void; clearValidate: () => void; validateStatus: import("vue").ComputedRef; validateMessage: import("vue").ComputedRef; size: import("vue").ComputedRef<"small" | "default" | "large">; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; readonly default: ""; }; readonly required: { readonly type: BooleanConstructor; readonly default: false; }; readonly rules: { readonly type: import("vue").PropType; readonly default: () => never[]; }; readonly showMessage: { readonly type: BooleanConstructor; readonly default: true; }; readonly size: { readonly type: import("vue").PropType<"large" | "default" | "small">; readonly default: ""; }; readonly validateTrigger: { readonly type: import("vue").PropType; readonly default: ""; }; readonly errorPosition: { readonly type: import("vue").PropType<"left" | "center" | "right">; readonly default: "left"; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly validateStatus: { readonly type: import("vue").PropType; readonly default: ""; }; readonly error: { readonly type: StringConstructor; readonly default: ""; }; readonly themeOverrides: { readonly type: import("vue").PropType; readonly default: undefined; }; }>> & Readonly<{}>, { readonly label: string; readonly disabled: boolean; readonly size: "small" | "default" | "large"; readonly themeOverrides: ComponentThemeVars; readonly error: string; readonly required: boolean; readonly rules: FormRule | FormRule[]; readonly labelWidth: string | number; readonly showMessage: boolean; readonly prop: string; readonly validateTrigger: string | string[]; readonly errorPosition: "left" | "right" | "center"; readonly validateStatus: ValidateStatus; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithSlots; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };