import { ReactElement } from 'react';
declare type ClosingConfirmationProps = {
    onClose?: () => void;
    closingConfirmation?: boolean;
};
declare const useClosingConfirmation: ({ onClose, closingConfirmation }: ClosingConfirmationProps) => {
    onCloseWithConfirmation: any;
    closingConfirmationDialog: ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
};
export default useClosingConfirmation;
