import "./HeaderIconToolbar.scss";
import * as React from "react";
import type { WidgetContentLayout } from "../WidgetContentLayout.js";
type WidgetContentLayoutHeaderProps = React.ComponentProps<typeof WidgetContentLayout.Header>;
type IconMenu = NonNullable<WidgetContentLayoutHeaderProps["icons"]>[number];
interface IconMenuSearch {
    type: "search";
}
type SearchExpandedState = [
    boolean,
    React.Dispatch<React.SetStateAction<boolean>>
];
interface HeaderIconToolbarProps extends Pick<WidgetContentLayoutHeaderProps, "iconSize" | "onSearch"> {
    /** Array of icon menu items to display, including regular icons, search, and dividers. */
    menuIcons: (IconMenu | IconMenuSearch)[];
    /** State tuple controlling whether the search box is expanded or collapsed. */
    searchExpandedState: SearchExpandedState;
}
/**
 * Header toolbar component that displays menu icons with overflow handling.
 * Renders a button group with icons, search functionality, and an overflow menu.
 * Icons that don't fit in the available space are moved into a dropdown menu.
 * @internal
 */
export declare function HeaderIconToolbar(props: HeaderIconToolbarProps): React.JSX.Element;
export {};
//# sourceMappingURL=HeaderIconToolbar.d.ts.map