"use strict";
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.NesChangeHint = exports.NesTriggerReason = void 0;
var NesTriggerReason;
(function (NesTriggerReason) {
    NesTriggerReason["SelectionChange"] = "selectionChange";
    NesTriggerReason["ActiveDocumentSwitch"] = "activeDocumentSwitch";
})(NesTriggerReason || (exports.NesTriggerReason = NesTriggerReason = {}));
var NesChangeHint;
(function (NesChangeHint) {
    function is(obj) {
        if (typeof obj !== 'object' || obj === null) {
            return false;
        }
        const maybeChangeHint = obj;
        return (typeof maybeChangeHint.data === 'object' &&
            maybeChangeHint.data !== null &&
            typeof maybeChangeHint.data.uuid === 'string' &&
            Object.values(NesTriggerReason).includes(maybeChangeHint.data.reason));
    }
    NesChangeHint.is = is;
})(NesChangeHint || (exports.NesChangeHint = NesChangeHint = {}));
//# sourceMappingURL=nesTriggerHint.js.map