"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useLogic = void 0;
const useLogic = ({ formWizard, }) => {
    const { secondaryActions, isFirstStep, isLastStep } = formWizard;
    const isShowFullActions = Boolean(secondaryActions) && isLastStep && isLastStep !== isFirstStep;
    const isShowNavigateButtons = !isFirstStep || (isFirstStep === isLastStep && Boolean(secondaryActions));
    return { isShowFullActions, isShowNavigateButtons };
};
exports.useLogic = useLogic;
