/*---------------------------------------------------------------------------------------------
* 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
 */
import { isActionItem, isStageLauncher, } from "@itwin/appui-abstract";
/** Used to specify the item type added to the backstage menu.
 * @deprecated in 3.0. Use type guards instead.
 * @beta
 */
export 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 || (BackstageItemType = {}));
/** BackstageActionItem type guard.
 * @beta
 */
export function isBackstageActionItem(item) {
    return isActionItem(item); // eslint-disable-line deprecation/deprecation
}
/** BackstageStageLauncher type guard.
 * @beta
 */
export function isBackstageStageLauncher(item) {
    return isStageLauncher(item); // eslint-disable-line deprecation/deprecation
}
//# sourceMappingURL=BackstageItem.js.map