import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropsWithChildren } from 'react';
import { PropsForTranslation } from '../../localization/useTranslation.js';
import { ConfirmModalProps } from './ConfirmModal.js';
import { FormTranslationType } from '../../localization/defaults/form.js';
import '../../localization/util.js';
import '../user-action/Button.js';
import '../layout-and-navigation/Overlay.js';

type DiscardChangesModalTranslation = FormTranslationType;
type DiscardChangesModalProps = Omit<ConfirmModalProps, 'onDecline' | 'onConfirm' | 'buttonOverwrites'> & {
    isShowingDecline?: boolean;
    requireAnswer?: boolean;
    onCancel: () => void;
    onSave: () => void;
    onDontSave: () => void;
};
declare const DiscardChangesModal: ({ overwriteTranslation, children, onCancel, onSave, onDontSave, headerProps, ...modalProps }: PropsForTranslation<DiscardChangesModalTranslation, PropsWithChildren<DiscardChangesModalProps>>) => react_jsx_runtime.JSX.Element;

export { DiscardChangesModal };
