export type ButtonProps = React.ButtonHTMLAttributes & {
loading?: boolean;
href?: undefined;
};
export type LinkProps = React.AnchorHTMLAttributes & {
loading?: boolean;
disabled?: boolean;
href?: string;
};
export declare const isLinkProps: (props: ButtonProps | LinkProps) => props is LinkProps;
declare const Button: import("react").ForwardRefExoticComponent & {
loading?: boolean;
href?: undefined;
} & import("react").RefAttributes> & {
Link: import("react").ForwardRefExoticComponent & {
loading?: boolean;
disabled?: boolean;
href?: string;
} & import("react").RefAttributes>;
};
export default Button;