import { type DataTestId, type MaskingProps, type WithChildren } from '@dynatrace/strato-components/core'; /** * @public */ export interface MenuContentProps extends WithChildren, MaskingProps, DataTestId { /** * The preferred side where the menu content should be rendered relative to the * trigger element. This value may be ignored if collisions occur. * This prop is ignored within submenus. * * @defaultValue 'bottom' */ side?: 'bottom' | 'top' | 'right' | 'left'; /** * The horizontal position where the menu content should be rendered relative * to the trigger element. This value may be ignored if collisions occur * or when `side` is set to `'right'` or `'left'`. * This prop is ignored within submenus. * * @defaultValue 'start' */ alignment?: 'start' | 'center' | 'end'; /** * Event handler called when focus moves to the trigger after closing. * It can be prevented by calling event.preventDefault. */ onCloseAutoFocus?: (event: Event) => void; /** * When true, overrides the side and align preferences to prevent collisions * with boundary edges. * * @defaultValue true */ avoidCollisions?: boolean; /** * Additional elements can be provided to be included in the boundary check for menu. * By default this is the viewport. */ collisionBoundary?: Element | null | Array; } /** * The component that pops out when the dropdown menu is open. * @public */ export declare const Content: (props: MenuContentProps & import("react").RefAttributes) => React.ReactElement | null;