import React from "react"; import { GroupedListType } from "./GroupedList/index.js"; import { ListType } from "./List/index.js"; interface DropdownMenuProps extends React.HTMLAttributes { /** * Dropdown content */ children: React.ReactNode; /** * onClose callback */ onClose?: () => void; /** * Popover positionion strategy * @default "absolute" */ strategy?: "fixed" | "absolute"; placement?: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"; } export interface MenuType extends React.ForwardRefExoticComponent> { /** * @see 🏷️ {@link ListType} */ List: ListType; /** * @see 🏷️ {@link GroupedListType} */ GroupedList: GroupedListType; /** * @see 🏷️ {@link React.HTMLAttributes} */ Divider: React.ForwardRefExoticComponent & React.RefAttributes>; } export declare const Menu: MenuType; export default Menu;