export declare type CategorizedMenu = { [module: string]: MenuItem[]; }; export declare type MenuItem = { _id?: string; icon: string; module: string; navigateTo: string; roles: string[]; title: string; shortTitle?: string; navigateEquals?: string[]; selected?: boolean; }; export declare type User = { _id: string; profile?: any; rolName: string; profileImage: string; }; export declare type KOSMenuProps = { items: MenuItem[]; user?: User; drawerOpen?: boolean; loading?: boolean; sx?: Record; error?: boolean; homeUrl: string; isBackButtonEnable?: boolean; onBackAction?: () => void; onClickMenuItem?: (to: string | undefined) => void; };