/** __vue_virtual_code_placeholder */ import "./index.less"; import type { TooltipProps } from "../tooltip/types"; import { Rules, ValidateMessages } from "async-validator"; import { FormCallback, modelType } from "../../types/form"; export interface FormProps { model?: modelType; required?: boolean; rules?: Rules; size?: "xs" | "sm" | "md" | "lg"; mode?: "block" | "inline"; pane?: boolean; initValidate?: boolean; useCN?: boolean; labelPosition?: "right" | "left" | "top"; labelWidth?: string | number; inlineWidth?: string | number; requiredIcons?: string; requiredErrorMessage?: string; validateMessage?: ValidateMessages; isLabelTooltip?: boolean; tooltipProps?: TooltipProps; } declare const _default: __VLS_WithTemplateSlots, { model: () => {}; pane: boolean; initValidate: boolean; useCN: boolean; requiredIcons: string; labelPosition: string; isLabelTooltip: boolean; }>, { validate: (fields?: string | string[] | FormCallback | null | undefined, callback?: FormCallback | null | undefined) => Promise | null; clearValidate: (fields?: string | string[] | undefined) => void; reset: () => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly, { model: () => {}; pane: boolean; initValidate: boolean; useCN: boolean; requiredIcons: string; labelPosition: string; isLabelTooltip: boolean; }>>> & { onSubmit?: ((...args: any[]) => any) | undefined; }, { model: modelType; pane: boolean; initValidate: boolean; useCN: boolean; labelPosition: "top" | "left" | "right"; requiredIcons: string; isLabelTooltip: boolean; }, {}>, { default?(_: {}): any; }>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: import('vue').PropType<__VLS_NonUndefinedable>; } : { type: import('vue').PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {};