import { ThemingProps } from "../theme/types.js";
import { ListProps } from "../list/list.types.js";
import "../list/index.js";
import { PopoverContentProps, PopoverProps } from "../popover/popover.types.js";
import "../popover/index.js";
import { ReactNode, RefObject } from "react";

//#region src/menu/menu.types.d.ts
type MenuListProps = ListProps & {
  /** Props object passed to the inner PopoverContent. */
  contentProps?: PopoverContentProps;
  /** Ref passed to the inner PopoverContent. */
  contentRef?: RefObject<HTMLDivElement>;
  /** Maximum height of the list. */
  maxH?: number;
  /** Custom content displayed at the bottom of the panel */
  slotBottom?: ReactNode;
  /** Custom content displayed at the top of the panel */
  slotTop?: ReactNode;
};
type MenuProps = ThemingProps<'Menu'> & PopoverProps & {
  /** Content closes when clicking on a list item. */
  closeOnSelect?: boolean;
};
//#endregion
export { MenuListProps, MenuProps };

//# sourceMappingURL=menu.types.d.ts.map