import type { ButtonProps as AntdButtonProps } from 'antd'; export declare const LOADING_ICON_WIDTH_MAP: Record<'small' | 'middle' | 'large', number>; export interface ButtonProps extends Omit { type?: 'primary' | 'secondary' | 'dashed' | 'text' | 'link'; /** * 点击后显示 loading,等待 onClick 执行完毕后,loading 消失。 * 如果设置了 loading,则 autoLoading 无效。 */ autoLoading?: boolean; /** * 字体粗细,默认 middle/large 为 600,small 为 500 */ fontWeight?: 'normal' | 'medium' | 'semibold' | 'bold'; } export declare const Button: React.FC;