import type { ThemeBaseSize } from "../theme.types"; export interface ButtonProps extends Omit, "size"> { color?: "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error" | "neutral"; /** 尺寸大小 */ size?: ThemeBaseSize; /** * 矩形或圆形, 用于单字符或图标 * @deprecated 使用shape替代 */ sharp?: "square" | "circle"; /** 矩形或圆形, 用于单字符或图标 */ shape?: "square" | "circle"; /** 加宽 */ wide?: boolean; /** full width, 优先级高于wide */ fullWidth?: boolean; /** 左侧图标元素 */ startIcon?: React.ReactNode; /** 右侧图标元素 */ endIcon?: React.ReactNode; /** 是否在左侧显示加载动画图标 */ loading?: boolean; /** 加载动画图标的显示位置 * @default "left" */ loadingPosition?: "left" | "right"; /** 无点击动画, v5不再有效果 * @deprecated */ noAnimation?: boolean; /** link样式, 优先级高于 glass, ghost, outline, dash, soft */ link?: boolean; /** 无边框和背景的样式 */ ghost?: boolean; /** 毛玻璃效果的样式,需要有背景才有效果, 优先级高于 outline, dash, soft */ glass?: boolean; /** 边框样式 */ outline?: boolean; /** 虚框样式 */ dash?: boolean; /** soft样式 */ soft?: boolean; } /** ref属性会转发至button元素 */ export declare function Button(props: ButtonProps): import("react").JSX.Element;