import React, { FC, ButtonHTMLAttributes, AnchorHTMLAttributes } from 'react'; import './style/index.less'; declare const buttonSizes: ["lg", "sm"]; export declare type TButtonSize = typeof buttonSizes[number]; declare const buttonTypes: ["primary", "default", "danger", "link"]; export declare type TButtonType = typeof buttonTypes[number]; declare const buttonHtmlTypes: ["submit", "button", "reset"]; export declare type TButtonHtmlType = typeof buttonHtmlTypes[number]; export interface IBaseButtonProps { className?: string; prefixCls?: string; disabled?: boolean; size?: TButtonSize; btnType?: TButtonType; htmlType?: TButtonHtmlType; children: React.ReactNode; href?: string; } export declare type TNativeButtonProps = IBaseButtonProps & ButtonHTMLAttributes; export declare type TAnchorButtonProps = IBaseButtonProps & AnchorHTMLAttributes; export declare type TButtonProps = Partial; declare const Button: FC; export default Button;