"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 Toolbar
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.isToolbarCustomItem = exports.isToolbarGroupItem = exports.isToolbarActionItem = exports.ToolbarOrientation = exports.ToolbarUsage = void 0;
const appui_abstract_1 = require("@itwin/appui-abstract");
/** Used to specify the usage of the toolbar which determine the toolbar position.
 * @beta
 */
exports.ToolbarUsage = appui_abstract_1.ToolbarUsage; // eslint-disable-line @typescript-eslint/no-redeclare, deprecation/deprecation
/** Used to specify the orientation of the toolbar.
 * @beta
 */
exports.ToolbarOrientation = appui_abstract_1.ToolbarOrientation; // eslint-disable-line @typescript-eslint/no-redeclare, deprecation/deprecation
/** ToolbarActionItem type guard.
 * @beta
 */
function isToolbarActionItem(item) {
    return appui_abstract_1.ToolbarItemUtilities.isActionButton(item);
}
exports.isToolbarActionItem = isToolbarActionItem;
/** ToolbarGroupItem type guard.
 * @beta
 */
function isToolbarGroupItem(item) {
    return appui_abstract_1.ToolbarItemUtilities.isGroupButton(item);
}
exports.isToolbarGroupItem = isToolbarGroupItem;
/** ToolbarCustomItem type guard.
 * @beta
 */
function isToolbarCustomItem(item) {
    return appui_abstract_1.ToolbarItemUtilities.isCustomDefinition(item);
}
exports.isToolbarCustomItem = isToolbarCustomItem;
//# sourceMappingURL=ToolbarItem.js.map