import { type IconProps, type PopupProps } from '@gravity-ui/uikit';
import type { Action } from "../../core/index.js";
import { type ToolbarBaseProps, type ToolbarIconData } from "../../toolbar/index.js";
import "./ToolbarButtonWithPopupMenu.css";
export type MenuItem = {
    id: string;
    action: Action;
    icon: IconProps['data'];
    text: string;
    iconSize?: IconProps['size'];
    iconClassname?: string;
    group?: string;
    ignoreActive?: boolean;
};
export type ToolbarButtonWithPopupMenuProps = Pick<ToolbarBaseProps<never>, 'className' | 'focus' | 'onClick' | 'qa'> & Pick<PopupProps, 'disablePortal'> & {
    icon: ToolbarIconData;
    iconClassName?: string;
    chevronIconClassName?: string;
    title: string | (() => string);
    menuItems: MenuItem[];
    /** @default 'classic' */
    _selectionType?: 'classic' | 'light';
    qaMenu?: string;
};
export declare const ToolbarButtonWithPopupMenu: React.FC<ToolbarButtonWithPopupMenuProps>;
