import type { ButtonProps } from '@mui/material/Button'; interface IButtonProps extends ButtonProps { color?: 'primary' | 'secondary' | 'error' | 'warning' | 'success'; icon: ButtonProps['startIcon']; loading?: boolean; } export type IIconButtonProps = Omit; declare const IconButton: ({ variant, color, sx, size, icon, loading, ...otherProps }: IIconButtonProps) => import("react/jsx-runtime").JSX.Element; export default IconButton;