import { DefaultMantineColor, MenuItemProps, MenuProps } from '@mantine/core'; export type WidgetMenuItem = { icon?: string; label: string; onClick: () => void; color?: DefaultMantineColor; closeMenuOnClick?: boolean; disabled?: boolean; } & MenuItemProps; export type WidgetMenuItems = (WidgetMenuItem | '-' | string)[]; export type WidgetMenuProps = { icon: string; ariaLabel?: string; disabled?: boolean; readOnly?: boolean; inline?: boolean; items?: WidgetMenuItems; } & MenuProps; export declare function WidgetMenu({ icon, disabled, inline, readOnly, items, ariaLabel, ...menuProps }: WidgetMenuProps): import("react").JSX.Element | null;