import * as React from 'react'; interface ButtonBaseProps { variant?: 'primary' | 'secondary' | 'clear' | 'underlined'; icon?: React.ComponentType>; iconPosition?: 'left' | 'right'; fullWidth?: boolean; round?: boolean; disabled?: boolean; size?: 'tiny' | 'small' | 'medium'; } interface AsButtonProps extends ButtonBaseProps, React.ButtonHTMLAttributes { type?: 'button' | 'submit'; } interface AsLinkProps extends ButtonBaseProps, React.AnchorHTMLAttributes { type?: 'link'; } type ButtonProps = AsButtonProps | AsLinkProps; export declare function Button({ variant, icon: Icon, iconPosition, fullWidth, type, round, disabled, children, size, ...attributes }: React.PropsWithChildren): React.ReactElement, string | React.JSXElementConstructor>; export {};