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