import type { TActionUnion } from '../../../../../types/ActionsDropdown';
import type { TNotificationCallbacks, TParseContext, TRollbackModalData } from '../types';
export declare const useRollbackHandlers: (ctx: TParseContext, { showSuccess, showError }: TNotificationCallbacks) => {
    rollbackModalData: TRollbackModalData | null;
    isRollbackLoading: boolean;
    handleRollbackAction: (action: Extract<TActionUnion, {
        type: 'rollback';
    }>) => void;
    handleRollbackConfirm: () => void;
    handleRollbackCancel: () => void;
};
