import { ModalProps as MantineModalProps } from '@mantine/core';
import { ReactNode } from 'react';
export interface ModalProps extends MantineModalProps {
    cancelLabel?: string;
    /** Close the modal after confirm succeeds. Return false from onConfirm to keep it open. */
    closeOnConfirm?: boolean;
    confirmLabel?: string;
    /** Custom footer content. Defaults to Cancel + Done buttons. */
    footer?: ReactNode;
    onConfirm?: () => boolean | Promise<boolean | void> | void;
}
declare const Modal: ({ cancelLabel, centered, children, closeOnClickOutside, closeOnConfirm, closeOnEscape, confirmLabel, footer, onClose, onConfirm, withCloseButton, ...props }: ModalProps) => JSX.Element;
export default Modal;
//# sourceMappingURL=index.d.ts.map