export type SidebarItem = { title: string; mobileTitle?: string; icon: any; path: string; aliases?: string[]; perm?: string | string[]; [key: string]: any; }; export type SidebarProps = { items?: SidebarItem[]; currentPath?: string; linkComponent?: any; onNavigate?: (item: SidebarItem) => void; children?: any; primaryMobileCount?: number; moreTitle?: string; moreDrawerTitle?: string; desktopProps?: Record; mobileProps?: Record; }; export type SidebarExitProps = { title?: string; icon?: any; }; export const Sidebar: ((props: SidebarProps) => any) & { Exit: (props: SidebarExitProps) => any; }; export function isSidebarPathActive( currentPath: string | undefined, item: SidebarItem, ): boolean; export function getActiveSidebarItem( items: SidebarItem[], currentPath: string | undefined, ): SidebarItem | undefined; export const Header: any;