import { Component, ComponentConstructor, TypeDefs } from 'intact-vue'; import { Sizes, Colors } from '../types'; export * from './group'; interface ButtonHTMLAttributes { autofocus?: boolean; form?: string; formaction?: string; formenctype?: string; formmethod?: string; formnovalidate?: boolean; formtarget?: string; href?: string; target?: string; download?: string; } export interface ButtonProps extends ButtonHTMLAttributes { type?: Colors | 'none' | 'secondary' | 'link' | 'flat'; size?: Sizes; icon?: boolean; circle?: boolean; color?: string; loading?: boolean; disabled?: boolean; fluid?: boolean; htmlType?: 'submit' | 'reset' | 'button'; tagName?: string | ComponentConstructor; value?: any; name?: string; tabindex?: string | number; ghost?: boolean; } export interface ButtonEvents { click: [MouseEvent]; mouseup: [MouseEvent]; } export declare class Button extends Component { static template: string | import('intact-vue').Template; static typeDefs: Required>>; static defaults: () => Partial; private buttonGroup; private elementRef; private config; showLoading(): void; hideLoading(): void; disable(): void; enable(): void; private isChecked; private onClick; private onMouseUp; }