import { SidebarMenuItem, SidebarMenuProps, SidebarMenuSubItem } from './types';
type UseSidebarMenuParams = Pick<SidebarMenuProps, 'items' | 'isExpanded' | 'onClick'>;
export declare const useSidebarMenu: ({ items, isExpanded, onClick }: UseSidebarMenuParams) => {
    selectedItemId: string | null;
    selectedSubItemId: string | null;
    submenuAnchorEl: HTMLElement | null;
    submenuItem: SidebarMenuItem | undefined;
    submenuItems: SidebarMenuSubItem[];
    getIsItemActive: (item: SidebarMenuItem) => boolean;
    getIsSubItemActive: (subItem: SidebarMenuSubItem) => boolean;
    shouldShowSubmenu: (item: SidebarMenuItem) => boolean;
    handleItemClick: (item: SidebarMenuItem, event: React.MouseEvent<HTMLElement>) => void;
    handleSubItemClick: (item: SidebarMenuItem, subItem: SidebarMenuSubItem, event: React.MouseEvent<HTMLElement>, options?: {
        closeMenu?: boolean;
    }) => void;
    closeSubmenu: () => void;
};
export {};
