import { default as React, AnchorHTMLAttributes, ButtonHTMLAttributes, ElementType } from 'react'; import { EIconName } from '../Icon'; type ButtonVariant = 'emphasis' | 'emphasis-invert' | 'muted' | 'muted-invert' | 'ghost'; type ButtonSize = 'xs' | 'sm' | 'md' | 'lg'; interface BaseButtonProps { iconName: EIconName; variant?: ButtonVariant; size?: ButtonSize; as?: ElementType; } export type ButtonProps = BaseButtonProps & ButtonHTMLAttributes & AnchorHTMLAttributes; export declare const IconButton: ({ iconName, variant, size, as: Component, disabled, ...props }: Omit) => React.JSX.Element; export {};