import { ButtonHTMLAttributes, ReactElement, ComponentType, MutableRefObject } from 'react'; import { IIconProps } from "../../types"; declare const variants: { primary: string; secondary: string; outlined: string; transparent: string; rounded: string; }; declare const sizeButton: { small: string; medium: string; large: string; }; declare type TSize = keyof typeof sizeButton; export interface IButtonProps extends Omit, 'disabled'> { variant?: keyof typeof variants; size?: TSize; Icon?: ComponentType; isDisabled?: boolean; contentClassName?: string; innerRef?: MutableRefObject; } declare const Button: ({ className, variant, size, Icon, children, innerRef, contentClassName, isDisabled, ...rest }: IButtonProps) => ReactElement; export default Button;