import { default as React } from 'react'; interface IconProps { size?: string | number; color?: string; } type ButtonBaseProps = { size?: 'micro' | 'default' | 'large'; variant?: 'primary' | 'secondary' | 'ghost'; iconLeft?: React.ReactElement; iconRight?: React.ReactElement; className?: string; }; type ButtonAsButton = ButtonBaseProps & Omit, keyof ButtonBaseProps> & { href?: never; }; type ButtonAsLink = ButtonBaseProps & Omit, keyof ButtonBaseProps> & { href: string; }; export type ButtonProps = ButtonAsButton | ButtonAsLink; export declare function Button(props: ButtonProps): import("react/jsx-runtime").JSX.Element; export {};