/** @packageDocumentation
 * @module Toolbar
 */
import { type ToolType } from "@itwin/core-frontend";
import type { ToolbarActionItem, ToolbarCustomItem, ToolbarGroupItem } from "./ToolbarItem";
/** Helper namespace to create toolbar items.
 * @public
 */
export declare namespace ToolbarItemUtilities {
    interface CreateActionItemArgs extends Partial<Omit<ToolbarActionItem, "icon" | "iconNode" | "id">>, Pick<ToolbarActionItem, "id"> {
        icon?: ToolbarActionItem["iconNode"];
    }
    type DeprecatedActionItemArgs = [
        id: ToolbarActionItem["id"],
        itemPriority: ToolbarActionItem["itemPriority"],
        icon: ToolbarActionItem["icon"],
        label: ToolbarActionItem["label"],
        execute: ToolbarActionItem["execute"],
        overrides?: Partial<ToolbarActionItem>
    ];
    /** Creates an action item. */
    export function createActionItem(args: CreateActionItemArgs): ToolbarActionItem;
    /** Creates an action item.
     * @deprecated in 4.16.0. Uses a deprecated {@link @itwin/core-react#IconSpec} type. Use an overload instead.
     */
    export function createActionItem(...args: DeprecatedActionItemArgs): ToolbarActionItem;
    interface CreateGroupItemArgs extends Partial<Omit<ToolbarGroupItem, "icon" | "iconNode" | "id">>, Pick<ToolbarGroupItem, "id"> {
        icon?: ToolbarGroupItem["iconNode"];
    }
    type DeprecatedGroupItemArgs = [
        id: string,
        itemPriority: number,
        icon: ToolbarGroupItem["icon"],
        label: ToolbarGroupItem["label"],
        items: ToolbarGroupItem["items"],
        overrides?: Partial<ToolbarGroupItem>
    ];
    /** Creates a group item. */
    export function createGroupItem(args: CreateGroupItemArgs): ToolbarGroupItem;
    /** Creates a group item.
     * @deprecated in 4.16.0. Uses a deprecated {@link @itwin/core-react#IconSpec} type. Use an overload instead.
     */
    export function createGroupItem(...args: DeprecatedGroupItemArgs): ToolbarGroupItem;
    interface CreateCustomItemArgs extends Partial<Omit<ToolbarCustomItem, "icon" | "iconNode" | "id">>, Pick<ToolbarCustomItem, "id"> {
        icon?: ToolbarCustomItem["iconNode"];
    }
    type DeprecatedCustomItemArgs = [
        id: string,
        itemPriority: number,
        icon: ToolbarCustomItem["icon"],
        label: ToolbarCustomItem["label"],
        panelContent?: ToolbarCustomItem["panelContent"],
        overrides?: Partial<ToolbarCustomItem>
    ];
    /** Creates a custom item. */
    export function createCustomItem(args: CreateCustomItemArgs): ToolbarCustomItem;
    /** Creates a custom item.
     * @deprecated in 4.16.0. Uses a deprecated {@link @itwin/core-react#IconSpec} type. Use an overload instead.
     */
    export function createCustomItem(...args: DeprecatedCustomItemArgs): ToolbarCustomItem;
    /** Creates an action item from the specified tool type. */
    export function createForTool(toolType: ToolType, overrides?: Partial<ToolbarActionItem>): ToolbarActionItem;
    export {};
}
//# sourceMappingURL=ToolbarItemUtilities.d.ts.map