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