"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 StatusBar
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.isStatusBarItem = exports.isStatusBarCustomItem = exports.isStatusBarLabelItem = exports.isStatusBarActionItem = exports.StatusBarLabelSide = exports.StatusBarSection = void 0;
const appui_abstract_1 = require("@itwin/appui-abstract");
/** Status bar Groups/Sections from Left to Right
 * @beta
 */
exports.StatusBarSection = appui_abstract_1.StatusBarSection; // eslint-disable-line @typescript-eslint/no-redeclare, deprecation/deprecation
/** Defines which side of Icon where label is placed
 * @beta
 */
exports.StatusBarLabelSide = appui_abstract_1.StatusBarLabelSide; // eslint-disable-line @typescript-eslint/no-redeclare, deprecation/deprecation
/** StatusBarActionItem type guard.
 * @beta
 */
function isStatusBarActionItem(item) {
    return (0, appui_abstract_1.isAbstractStatusBarActionItem)(item); // eslint-disable-line deprecation/deprecation
}
exports.isStatusBarActionItem = isStatusBarActionItem;
/** StatusBarLabelItem type guard.
 * @beta
 */
function isStatusBarLabelItem(item) {
    return (0, appui_abstract_1.isAbstractStatusBarLabelItem)(item); // eslint-disable-line deprecation/deprecation
}
exports.isStatusBarLabelItem = isStatusBarLabelItem;
/** StatusBarCustomItem type guard.
 * @beta
 */
function isStatusBarCustomItem(item) {
    return (0, exports.isStatusBarItem)(item); // eslint-disable-line deprecation/deprecation
}
exports.isStatusBarCustomItem = isStatusBarCustomItem;
/** StatusBarItem type guard.
 * @deprecated in 3.6. Use [[isStatusBarCustomItem]] instead.
 * @public
 */
const isStatusBarItem = (item) => {
    return (0, appui_abstract_1.isAbstractStatusBarCustomItem)(item) && ("reactNode" in item); // eslint-disable-line deprecation/deprecation
};
exports.isStatusBarItem = isStatusBarItem;
//# sourceMappingURL=StatusBarItem.js.map