import { SFCWithInstall } from '@chenms-zj/utils/with-install'; import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue'; import { Arrayable, FormItemRule } from './src/form-item'; import { Values } from 'async-validator'; declare const Form: SFCWithInstall<{ new (...args: any[]): CreateComponentPublicInstanceWithMixins>>; }; readonly showMessage: { readonly type: BooleanConstructor; readonly default: true; }; }>> & Readonly<{}>, { validate: (callback?: (valid: boolean, fields?: Values) => void) => Promise; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, { readonly showMessage: boolean; }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLFormElement, ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ readonly model: ObjectConstructor; readonly rules: { readonly type: PropType>>; }; readonly showMessage: { readonly type: BooleanConstructor; readonly default: true; }; }>> & Readonly<{}>, { validate: (callback?: (valid: boolean, fields?: Values) => void) => Promise; }, {}, {}, {}, { readonly showMessage: boolean; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & ComponentOptionsBase>>; }; readonly showMessage: { readonly type: BooleanConstructor; readonly default: true; }; }>> & Readonly<{}>, { validate: (callback?: (valid: boolean, fields?: Values) => void) => Promise; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, { readonly showMessage: boolean; }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => { $slots: { default?(_: {}): any; }; })>; declare const FormItem: SFCWithInstall<{ new (...args: any[]): CreateComponentPublicInstanceWithMixins>; readonly showMessage: { readonly type: BooleanConstructor; readonly default: true; }; }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, { readonly showMessage: boolean; }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ readonly prop: StringConstructor; readonly label: StringConstructor; readonly rules: PropType>; readonly showMessage: { readonly type: BooleanConstructor; readonly default: true; }; }>> & Readonly<{}>, {}, {}, {}, {}, { readonly showMessage: boolean; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & ComponentOptionsBase>; readonly showMessage: { readonly type: BooleanConstructor; readonly default: true; }; }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, { readonly showMessage: boolean; }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => { $slots: { label?(_: {}): any; default?(_: {}): any; error?(_: {}): any; }; })>; export { Form, FormItem }; declare const _default: {}; export default _default; export { formItemProps } from './src/form-item'; export { formProps } from './src/form'; export type FormInstance = InstanceType; declare module 'vue' { interface GlobalComponents { 'cms-form-item': typeof FormItem; 'cms-form': typeof Form; } }