"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OverlayHighlightType = void 0;
exports.getAssertionHumanizedText = getAssertionHumanizedText;
const type_utils_1 = require("./type-utils");
const AssertStepTypes_1 = require("./mablscript/canonical/AssertStepTypes");
var OverlayHighlightType;
(function (OverlayHighlightType) {
    OverlayHighlightType["All"] = "all";
    OverlayHighlightType["TextFields"] = "text_fields";
    OverlayHighlightType["Visual"] = "visual";
    OverlayHighlightType["WebViews"] = "webviews";
})(OverlayHighlightType || (exports.OverlayHighlightType = OverlayHighlightType = {}));
function getAssertionHumanizedText(assertionType) {
    return (0, type_utils_1.isDefined)(assertionType)
        ? AssertStepTypes_1.ASSERTION_TYPES_AS_MAP[assertionType]?.label
        : undefined;
}
