type Actions = {
    onCancel: VoidFunction;
    onLeave: VoidFunction;
    onSubmit: () => Promise<unknown>;
};
export declare function useConfirmationModal(): {
    openConfirmationModal: (data: Partial<Actions>) => void;
};
export {};
