import { IconPropType } from "../../../utils/vue/icon.js"; import "../../../utils/index.js"; import { ButtonNativeType, ButtonProps, ButtonType } from "./button.js"; import * as vue from "vue"; //#region ../../packages/components/button/src/button.vue.d.ts declare var __VLS_11: {}, __VLS_35: {}, __VLS_37: {}; type __VLS_Slots = {} & { loading?: (props: typeof __VLS_11) => any; } & { icon?: (props: typeof __VLS_35) => any; } & { default?: (props: typeof __VLS_37) => any; }; declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption, { disabled: undefined; type: string; nativeType: string; loadingIcon: vue.Raw>, {}>>; plain: undefined; text: undefined; round: undefined; dashed: undefined; autoInsertSpace: undefined; tag: string; }>, { /** @description button html element */ref: vue.Ref; /** @description button size */ size: vue.ComputedRef<"" | "default" | "small" | "large">; /** @description button type */ type: vue.ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger" | "colour-1" | "colour-2" | "colour-3" | "colour-4" | "colour-5" | "colour-6" | "colour-7" | "colour-8" | "colour-9" | "colour-10" | "colour-11" | "colour-12">; /** @description button disabled */ disabled: vue.ComputedRef; /** @description whether adding space */ shouldAddSpace: vue.ComputedRef; }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, { click: (evt: MouseEvent) => void; }, string, vue.PublicProps, Readonly, { disabled: undefined; type: string; nativeType: string; loadingIcon: vue.Raw>, {}>>; plain: undefined; text: undefined; round: undefined; dashed: undefined; autoInsertSpace: undefined; tag: string; }>>> & { onClick?: ((evt: MouseEvent) => any) | undefined; }, { type: ButtonType; text: boolean; disabled: boolean; round: boolean; dashed: boolean; plain: boolean; tag: string | vue.Component; nativeType: ButtonNativeType; loadingIcon: IconPropType; autoInsertSpace: boolean; }, {}>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; type __VLS_TypePropsToOption = { [K in keyof T]-?: {} extends Pick ? { type: vue.PropType[K]>; } : { type: vue.PropType; required: true; } }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_PrettifyLocal : P[K] }; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //#endregion export { _default };