/*---------------------------------------------------------------------------------------------
 * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
 * See LICENSE.md in the project root for license terms and full copyright notice.
 *--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module StatusBar
 */
/** Status bar Groups/Sections from Left to Right
 * @public
 */
export var StatusBarSection;
(function (StatusBarSection) {
    /** area for tool assistance and messages */
    StatusBarSection[StatusBarSection["Message"] = 0] = "Message";
    /** area for tool assistance and messages */
    StatusBarSection[StatusBarSection["Left"] = 0] = "Left";
    /** items specific to stage/task */
    StatusBarSection[StatusBarSection["Stage"] = 1] = "Stage";
    /** items specific to stage/task */
    StatusBarSection[StatusBarSection["Center"] = 1] = "Center";
    /** Select scope and selection info */
    StatusBarSection[StatusBarSection["Selection"] = 2] = "Selection";
    /** Select scope and selection info */
    StatusBarSection[StatusBarSection["Right"] = 2] = "Right";
    /** items that only show based on context */
    StatusBarSection[StatusBarSection["Context"] = 3] = "Context";
})(StatusBarSection || (StatusBarSection = {}));
/** Defines which side of Icon where label is placed
 * @public
 */
export var StatusBarLabelSide;
(function (StatusBarLabelSide) {
    /** Label is placed left side of icon. This is the default if not specified */
    StatusBarLabelSide[StatusBarLabelSide["Left"] = 0] = "Left";
    /** Label is placed on right side of icon. */
    StatusBarLabelSide[StatusBarLabelSide["Right"] = 1] = "Right";
})(StatusBarLabelSide || (StatusBarLabelSide = {}));
/** StatusBarActionItem type guard.
 * @public
 */
export function isStatusBarActionItem(item) {
    return "execute" in item;
}
/** StatusBarLabelItem type guard.
 * @public
 */
export function isStatusBarLabelItem(item) {
    return !isStatusBarActionItem(item) && "label" in item;
}
/** StatusBarCustomItem type guard.
 * @public
 */
export function isStatusBarCustomItem(item) {
    return "content" in item;
}
//# sourceMappingURL=StatusBarItem.js.map