export function isStructuralAxisOp(op) {
    return (op.kind === 'insertRows' ||
        op.kind === 'deleteRows' ||
        op.kind === 'moveRows' ||
        op.kind === 'insertColumns' ||
        op.kind === 'deleteColumns' ||
        op.kind === 'moveColumns');
}
export function canFinalizeStructuralNoValueMutationWithoutRecalc(args) {
    return (!args.isRestore &&
        !args.topologyChanged &&
        args.formulaChangedCount === 0 &&
        args.explicitChangedCount === 0 &&
        args.precomputedKernelSyncCellCount === 0 &&
        args.invalidatedRangeCount === 0 &&
        (args.invalidatedRowCount > 0 || args.invalidatedColumnCount > 0) &&
        !args.hasActivePivots &&
        (args.activeFormulaCount === 0 || args.hasVolatileFormulas === false));
}
//# sourceMappingURL=operation-structural-no-value-finalization.js.map