import React from 'react'; import type { ElementType, MouseEvent, ReactNode } from 'react'; import type { DefaultProps } from '../../types'; import type { ButtonProps } from '@mui/material/Button'; export interface IButtonProps extends DefaultProps, ButtonProps { children?: ReactNode; color?: 'inherit' | 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning'; component?: ElementType; dashed?: boolean; disabled?: boolean; disableTouchRipple?: boolean; 'data-testid'?: string; fullWidth?: boolean; href?: string; selected?: boolean; size?: 'small' | 'medium' | 'large'; target?: string; variant?: 'text' | 'outlined' | 'contained'; onClick?(event: MouseEvent): void; } declare const Button: ({ children, color, dashed, href, margin, padding, style, variant, ...otherProps }: IButtonProps) => React.JSX.Element; export default Button;