import { DialogProps } from '@mui/material'; interface ButtonProps { onClick?(): void; text: string; loading?: boolean; } interface DialogValidationProps extends Omit { /** * Title of the dialog */ title?: string; /** * Subtitle of the dialog */ subtitle?: string; /** * Color of the dialog * @default "secondary" */ color?: "secondary" | "error" | "warning" | "info" | "success"; /** * Button primary props */ buttonPrimary?: ButtonProps; /** * Button secondary props */ buttonSecondary?: ButtonProps; /** * Callback when modal is closed */ onClose?: (event: {}, reason?: string) => void; } declare const DialogValidation: ({ title, subtitle, buttonPrimary, buttonSecondary, color, fullWidth, maxWidth, onClose, ...props }: DialogValidationProps) => import("@emotion/react/jsx-runtime").JSX.Element; export default DialogValidation;