import type { Component } from "vue"; /** FaButton 的运行时 Props 定义 */ export declare const faButtonProps: { /** * 自定义加载图标 * * 未指定时使用 `Eleme`。 */ loadingIcon: { type: import("vue").PropType; default: () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }; /** 禁用加载 */ disabledLoading: BooleanConstructor; size: { readonly type: import("vue").PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; disabled: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; type: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; icon: { readonly type: import("vue").PropType (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; nativeType: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; loading: BooleanConstructor; plain: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; text: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; link: BooleanConstructor; bg: BooleanConstructor; autofocus: BooleanConstructor; round: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; circle: BooleanConstructor; dashed: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; color: StringConstructor; dark: BooleanConstructor; autoInsertSpace: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; tag: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, "button", boolean>; }; /** FaButton 的运行时 Emits 定义 */ export declare const faButtonEmits: { /** * 点击事件;未禁用内部加载时,调用方完成后应调用 done。 * @param event - 鼠标事件 * @param done - 完成本次交互并隐藏内部加载状态的回调 */ click: (event: MouseEvent, done?: () => void) => boolean; }; /** FaButton 的插槽参数 */ export interface FaButtonSlots extends Record { /** 默认内容插槽 */ default: never; /** 自定义加载中组件 */ loading: never; /** 自定义图标组件 */ icon: never; } declare const _default: import("vue").DefineComponent; default: () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }; /** 禁用加载 */ disabledLoading: BooleanConstructor; size: { readonly type: import("vue").PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; disabled: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; type: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; icon: { readonly type: import("vue").PropType (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; nativeType: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; loading: BooleanConstructor; plain: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; text: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; link: BooleanConstructor; bg: BooleanConstructor; autofocus: BooleanConstructor; round: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; circle: BooleanConstructor; dashed: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; color: StringConstructor; dark: BooleanConstructor; autoInsertSpace: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; tag: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, "button", boolean>; }>, { /** 按钮 html 元素 */ ref: import("vue").ComputedRef; /** 按钮尺寸 */ size: import("vue").ComputedRef<"" | "small" | "default" | "large" | undefined>; /** 按钮类型 */ type: import("vue").ComputedRef<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger" | undefined>; /** 按钮已禁用 */ disabled: import("vue").ComputedRef; /** 是否在两个字符之间插入空格 */ shouldAddSpace: import("vue").ComputedRef; /** 聚合加载状态;手动写入只管理手动任务,不关闭仍在执行的内部任务。 */ loading: import("vue").WritableComputedRef; /** 执行独立的加载任务;并发调用分别完成,卸载后不再启动新任务。 */ doLoading: (loadingFunction: () => void | Promise) => Promise; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { /** * 点击事件;未禁用内部加载时,调用方完成后应调用 done。 * @param event - 鼠标事件 * @param done - 完成本次交互并隐藏内部加载状态的回调 */ click: (event: MouseEvent, done?: () => void) => boolean; }, string, import("vue").PublicProps, Readonly; default: () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }; /** 禁用加载 */ disabledLoading: BooleanConstructor; size: { readonly type: import("vue").PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; disabled: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; type: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; icon: { readonly type: import("vue").PropType (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; nativeType: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; loading: BooleanConstructor; plain: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; text: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; link: BooleanConstructor; bg: BooleanConstructor; autofocus: BooleanConstructor; round: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; circle: BooleanConstructor; dashed: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; color: StringConstructor; dark: BooleanConstructor; autoInsertSpace: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized; tag: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, "button", boolean>; }>> & Readonly<{ onClick?: ((event: MouseEvent, done?: (() => void) | undefined) => any) | undefined; }>, { link: boolean; type: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; circle: boolean; text: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; plain: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; loading: boolean; loadingIcon: string | Component; disabledLoading: boolean; disabled: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; nativeType: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; bg: boolean; autofocus: boolean; round: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; dashed: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; dark: boolean; autoInsertSpace: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType; tag: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | null)[], unknown, unknown>; }, import("../../../utils").TypedSlotsDeclaration, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;