import { SFCWithInstall } from '@chenms-zj/utils/with-install'; import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue'; import { Size, Type, NativeType, Placement } from './src/button'; declare const Button: SFCWithInstall<{ new (...args: any[]): CreateComponentPublicInstanceWithMixins; readonly type: { readonly type: PropType; readonly validator: (val: string) => boolean; readonly default: ""; }; readonly round: BooleanConstructor; readonly loading: BooleanConstructor; readonly disabled: BooleanConstructor; readonly nativeType: { readonly type: PropType; readonly default: "button"; }; readonly iconPlacement: { readonly type: PropType; readonly default: "left"; }; }>> & Readonly<{ onClick?: ((e: MouseEvent) => any) | undefined; onMousedown?: ((e: MouseEvent) => any) | undefined; }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { click: (e: MouseEvent) => void; mousedown: (e: MouseEvent) => void; }, PublicProps, { readonly loading: boolean; readonly type: Type; readonly round: boolean; readonly disabled: boolean; readonly nativeType: NativeType; readonly iconPlacement: Placement; }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ readonly size: PropType; readonly type: { readonly type: PropType; readonly validator: (val: string) => boolean; readonly default: ""; }; readonly round: BooleanConstructor; readonly loading: BooleanConstructor; readonly disabled: BooleanConstructor; readonly nativeType: { readonly type: PropType; readonly default: "button"; }; readonly iconPlacement: { readonly type: PropType; readonly default: "left"; }; }>> & Readonly<{ onClick?: ((e: MouseEvent) => any) | undefined; onMousedown?: ((e: MouseEvent) => any) | undefined; }>, {}, {}, {}, {}, { readonly loading: boolean; readonly type: Type; readonly round: boolean; readonly disabled: boolean; readonly nativeType: NativeType; readonly iconPlacement: Placement; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & ComponentOptionsBase; readonly type: { readonly type: PropType; readonly validator: (val: string) => boolean; readonly default: ""; }; readonly round: BooleanConstructor; readonly loading: BooleanConstructor; readonly disabled: BooleanConstructor; readonly nativeType: { readonly type: PropType; readonly default: "button"; }; readonly iconPlacement: { readonly type: PropType; readonly default: "left"; }; }>> & Readonly<{ onClick?: ((e: MouseEvent) => any) | undefined; onMousedown?: ((e: MouseEvent) => any) | undefined; }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { click: (e: MouseEvent) => void; mousedown: (e: MouseEvent) => void; }, string, { readonly loading: boolean; readonly type: Type; readonly round: boolean; readonly disabled: boolean; readonly nativeType: NativeType; readonly iconPlacement: Placement; }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => { $slots: { default?(_: {}): any; }; })>; export default Button; export * from './src/button'; declare module "vue" { interface GlobalComponents { "cms-button": typeof Button; } }