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