import { ReactElement } from 'react'; import { MenuProps } from './menu.types.js'; /** * A menu of actions on a trigger of your choosing. * * `Popover` does the anchoring, portalling and outside-click work but takes * arbitrary `content`, which leaves every consumer to write their own `ul`/`li` * and, in practice, to leave out the roles and the arrow keys. This is that list, * done once: `role="menu"`, a roving focus that skips disabled entries, Escape * back to the trigger, and separators and headings that stay out of the keyboard * order. */ declare function Menu({ items, children, onAction, isOpen: controlledOpen, onOpenChange, placement, align, presentation, className, style, classNames, styles: slotStyles, ...rest }: MenuProps): ReactElement; export default Menu;