import React from 'react'; import { BoxProps } from '../internals/Box'; import type { HTMLPropsWithoutSelect } from '../internals/types'; export interface MenuProps extends BoxProps, HTMLPropsWithoutSelect { /** Set the active key for the menu */ activeKey?: T; /** Callback function triggered when an item is selected */ onSelect?: (eventKey: T | undefined, event: React.SyntheticEvent) => void; } /** * The `` component is used to create a menu. * * @see https://rsuitejs.com/components/menu */ declare const Menu: import("../internals/types").InternalRefForwardingComponent<"ul", MenuProps, never> & { Item: import("../internals/types").InternalRefForwardingComponent<"li", import("./MenuItem").MenuItemProps, never> & Record; Separator: import("../internals/types").InternalRefForwardingComponent<"li", import("./MenuSeparator").MenuSeparatorProps, never> & Record; }; export default Menu;