import { ElementType, ReactNode } from 'react'; import { ColorPropsValue, OverridableComponent, OverridableProps, Size } from '../../types'; export type ButtonOwnProps = { color?: ColorPropsValue; /** 默认为`"square"` */ shape?: 'square' | 'circular' | 'rounded'; size?: Size; /** 默认为`"filled"` */ variant?: 'flatted' | 'filled' | 'outlined' | 'dashed' | 'ghost' | 'text' | 'plain'; /** 默认为`"horizontal"` */ orientation?: 'horizontal' | 'vertical'; prefix?: ReactNode; suffix?: ReactNode; loading?: boolean; readOnly?: boolean; /** @alias {@link prefix} */ icon?: ReactNode; /** @alias {@link ButtonProps.children} */ label?: ReactNode; }; export type ButtonProps = OverridableProps; export declare const Button: OverridableComponent;