import { Ref } from 'react'; import { PopoverProps } from '../Popover'; import { MenuItem } from './MenuItem'; import { MenuGroup } from './MenuGroup'; import { MenuDivider } from './MenuDivider'; export type MenuProps = { /** * A HTML element, or a function that returns it. It's used to set the position of the menu. */ anchorEl: Required['anchorEl']; /** * Ref to content container */ containerRef?: Ref; } & Omit; declare const MenuBase: ({ className, children, containerRef, placement, ...rest }: MenuProps) => JSX.Element; type MenuType = typeof MenuBase & { Item: typeof MenuItem; Group: typeof MenuGroup; Divider: typeof MenuDivider; }; export declare const Menu: MenuType; export {}; //# sourceMappingURL=Menu.d.ts.map