///
import { DialogProps } from '@mui/material/Dialog';
declare type Props = DialogProps & {
id: string;
};
/**
* To use this Component you must use the ConfirmationServiceContext and call `showBockingModal('my-id')`
* where my-id is the id prop. This ensures only a single modal is called as a time
*
* showBockingModal('my-id') will retun a promis that resolves when the moal is closed. THis is very useful when
* you wnat to wait for the response from a modal before proceeding e.g.
*
* await showBockingModal('first-blocker')
* await showBockingModal('second-blocker')
*
* Note: by omitting the 'open' prop as we control that through the openId on the ConfirmationServiceContext as
* do not want to pass it down to the dialog component
*/
declare const BlockingDialog: (props: Omit) => JSX.Element;
export default BlockingDialog;