import type { ExtractPropTypes, PropType } from 'vue'; import type Button from './Button.vue'; declare const validColors: readonly ["primary", "error", "warning", "success", ""]; type ButtonColorType = (typeof validColors)[number]; export declare const buttonProps: { readonly color: { readonly type: PropType<"" | "primary" | "error" | "warning" | "success">; readonly validator: (v: ButtonColorType) => boolean; readonly default: ""; }; readonly loading: { readonly type: BooleanConstructor; readonly default: false; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly preIcon: { readonly type: StringConstructor; }; readonly postIcon: { readonly type: StringConstructor; }; readonly iconSize: { readonly type: NumberConstructor; readonly default: 14; }; readonly onClick: { readonly type: PropType<(() => any) | (() => any)[]>; readonly default: null; }; }; export declare const buttonEmits: { onClick: (event: MouseEvent) => boolean; }; export type ButtonInstance = InstanceType; export type ButtonProps = ExtractPropTypes; export type ButtonEmits = typeof buttonEmits; export {};