import { MenuItemProps, MenuProps } from '../Menu/index.js'; import { IconButtonProps } from '../IconButton/index.js'; import { PartialByKeys } from '../../utils/common.js'; import { IconProps } from '../Icon/index.js'; export type ContextMenuItem = (Omit & { onClick?: (...value: any) => void; }) | null; export type ContextMenuProps = PartialByKeys, 'children'> & Partial> & { icon?: IconProps['variant']; value?: any; items?: Record; disabled?: boolean; filterable?: boolean; }; declare function ContextMenu({ icon, scrollableParent, children, value, items, disabled, position, filterable, size, onOpen, onClose, }: ContextMenuProps): import("react/jsx-runtime").JSX.Element; declare namespace ContextMenu { var Item: ({ children, label, description, leadIcon, trailIcon, selected, color, indentContent, visualOnlyKeyHint, disabled, onClick, keepOpenOnClick, hover: hoverProp, style, }: MenuItemProps) => import("react/jsx-runtime").JSX.Element; var Separator: () => import("react/jsx-runtime").JSX.Element; } export { ContextMenu };