import { default as React, ElementType, ButtonHTMLAttributes, AnchorHTMLAttributes } from 'react'; import { EIconName } from '../Icon'; import { TAnalyticsEvent } from '../../types/analytics'; export type ButtonVariant = 'primary' | 'primary-invert' | 'secondary' | 'tertiary' | 'muted' | 'muted-invert' | 'ghost'; type ButtonSize = 'xs' | 'sm' | 'md' | 'lg'; interface BaseButtonProps { variant?: ButtonVariant; size?: ButtonSize; as?: ElementType; prefixIcon?: EIconName; suffixIcon?: EIconName; analyticsProps?: TAnalyticsEvent; loading?: boolean; onClick?: (event: React.MouseEvent | React.MouseEvent) => void; } export type ButtonProps = BaseButtonProps & ButtonHTMLAttributes & AnchorHTMLAttributes; export declare const Button: React.ForwardRefExoticComponent & React.RefAttributes>; export {};