import { ModuleMenuItem, ModuleMenuProps } from './types';
type UseModuleMenuParams = Pick<ModuleMenuProps, 'items' | 'onSelect' | 'isExpanded'>;
export declare const useModuleMenu: ({ items, onSelect, isExpanded }: UseModuleMenuParams) => {
    selectedItemId: string | null;
    selectedItem: ModuleMenuItem | undefined;
    menuAnchorEl: HTMLElement | null;
    getIsItemActive: (item: ModuleMenuItem) => boolean;
    openMenu: (event: React.MouseEvent<HTMLElement>) => void;
    closeMenu: () => void;
    handleItemClick: (item: ModuleMenuItem, event: React.MouseEvent<HTMLElement>) => void;
};
export {};
