"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Backstage
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.isBackstageStageLauncher = exports.isBackstageActionItem = exports.BackstageItemType = void 0;
const appui_abstract_1 = require("@itwin/appui-abstract");
/** Used to specify the item type added to the backstage menu.
 * @deprecated in 3.0. Use type guards instead.
 * @beta
 */
var BackstageItemType;
(function (BackstageItemType) {
    /** Item that executes an action function */
    BackstageItemType[BackstageItemType["ActionItem"] = 1] = "ActionItem";
    /** Item that activate a stage. */
    BackstageItemType[BackstageItemType["StageLauncher"] = 2] = "StageLauncher";
})(BackstageItemType = exports.BackstageItemType || (exports.BackstageItemType = {}));
/** BackstageActionItem type guard.
 * @beta
 */
function isBackstageActionItem(item) {
    return (0, appui_abstract_1.isActionItem)(item); // eslint-disable-line deprecation/deprecation
}
exports.isBackstageActionItem = isBackstageActionItem;
/** BackstageStageLauncher type guard.
 * @beta
 */
function isBackstageStageLauncher(item) {
    return (0, appui_abstract_1.isStageLauncher)(item); // eslint-disable-line deprecation/deprecation
}
exports.isBackstageStageLauncher = isBackstageStageLauncher;
//# sourceMappingURL=BackstageItem.js.map