import { type ComponentProps } from '@hitagi/utils/types'; import React from 'react'; import { type PopperProps } from '../Popper'; import { type TransitionTimeout } from '../Transition'; import MenuContent from './MenuContent'; export type MenuOwnProps = Pick & Pick, 'backgroundVariant' | 'disableMy' | 'width' | 'minWidth' | 'maxWidth'> & { TransitionComponent?: React.ElementType; transitionDuration?: TransitionTimeout; anchorEl?: Element | null; }; export type MenuProps = MenuOwnProps & Omit; /** * A Menu displays a list of choices on a temporary surface. * It appears when the user interacts with a button, or other control. * * Choosing an option should immediately ideally commit the option and close the menu. */ declare const Menu: React.ForwardRefExoticComponent & Pick<{ backgroundVariant?: "opaque" | "acrylicOrOpaque" | undefined; disableMy?: boolean | undefined; children: React.ReactNode; } & Omit<{ 'data-maybe-acrylic'?: boolean | undefined; 'data-disable-my'?: boolean | undefined; } & import("styled-system").WidthProps>, import("csstype").Property.Width> & import("styled-system").MinWidthProps>, import("csstype").Property.MinWidth> & import("styled-system").MaxWidthProps>, import("csstype").Property.MaxWidth>, "data-maybe-acrylic" | "data-disable-my"> & React.RefAttributes, "maxWidth" | "minWidth" | "width" | "backgroundVariant" | "disableMy"> & { TransitionComponent?: React.ElementType | undefined; transitionDuration?: TransitionTimeout | undefined; anchorEl?: Element | null | undefined; } & Omit & React.RefAttributes>; export default Menu;