import { HTMLAttributes, Dispatch, ReactNode, RefObject, SetStateAction, KeyboardEvent, ForwardRefExoticComponent, RefAttributes } from 'react';
import { MenuAnimationProps, MenuSelectEvent, Orientation, SubmenuRenderMode } from '../../../menu';
export interface IMenuList {
handleKeyDown: (e: KeyboardEvent) => void;
closeSubmenus: () => void;
}
export interface MenuListProps extends Omit, 'onSelect'> {
children?: ReactNode;
hoverDelay?: number;
onSelect?: (event: MenuSelectEvent) => void;
onOpen?: (event: Event) => void;
onClose?: (event: Event) => void;
itemOnClick?: boolean;
animation?: MenuAnimationProps;
orientation?: Orientation;
embedded?: boolean;
isOpen?: boolean;
zIndex?: number;
popupPosition?: {
x: number;
y: number;
};
setPopupPosition?: Dispatch>;
subMenuContainerRef?: RefObject;
container?: HTMLElement;
submenuRenderMode?: SubmenuRenderMode;
}
/**
* MenuList - Internal orchestrator component for rendering hierarchical menu structures.
* Manages focus, hover states, keyboard navigation, and submenu positioning.
*
* @internal
*/
export declare const MenuList: ForwardRefExoticComponent>;
export default MenuList;