import { type WithChildren } from '@dynatrace/strato-components/core'; import { type MenuContentProps } from './Content.js'; /** * @public */ export interface MenuProps extends WithChildren { /** * The open state of the dropdown menu when it is initially rendered. Use when * you do not need to control its open state. * @defaultValue false */ defaultOpen?: boolean; /** * The controlled open state of the dropdown menu. Must be used in conjunction * with onOpenChange. */ open?: boolean; /** * Event handler called when the open state of the dropdown menu changes. * @param isOpen - true if the menu has been opened */ onOpenChange?: (isOpen: boolean) => void; /** * The modality of the dialog. * When set to true, interaction with outside elements will be disabled and * only dialog content will be visible to screen readers. * @defaultValue true */ modal?: boolean; } /** * The `Menu` component displays the list of action items that are revealed when * the user clicks on the trigger element. * @public */ export declare const Menu: ((props: MenuProps) => import("react/jsx-runtime.js").JSX.Element) & { Trigger: (props: import("./Trigger.js").MenuTriggerProps & import("react").RefAttributes) => React.ReactElement | null; Content: (props: MenuContentProps & import("react").RefAttributes) => React.ReactElement | null; Item: (props: import("./Item.js").MenuItemProps) => import("react").ReactElement | null; ItemTooltip: (props: WithChildren & import("@dynatrace/strato-components/core").DataTestId & import("react").RefAttributes) => React.ReactElement | null; Label: (props: import("./Label.js").MenuLabelProps & import("react").RefAttributes) => React.ReactElement | null; Link: (props: import("./Link.js").MenuLinkProps) => import("react").ReactElement | null; Group: (props: import("./Group.js").MenuGroupProps & import("react").RefAttributes) => React.ReactElement | null; ItemIcon: (props: import("./ItemIcon.js").MenuItemIconProps & import("react").RefAttributes) => React.ReactElement | null; Sub: (props: import("./Sub.js").MenuSubProps) => import("react/jsx-runtime.js").JSX.Element; SubTrigger: (props: import("./SubTrigger.js").MenuSubTriggerProps & import("react").RefAttributes) => React.ReactElement | null; SubContent: (props: WithChildren & import("react").RefAttributes) => React.ReactElement | null; Intent: (props: import("./Intent.js").MenuIntentProps & import("react").RefAttributes) => React.ReactElement | null; };