import { IRoutableItemDescriptor } from '../ui/RoutableMenu/IRoutableItemDescriptor.type'; interface NavConfig extends IRoutableItemDescriptor { title: string; key: string; subNav?: NavConfig[]; highlight?: string[]; } export interface SidebarConfig { title: string; navs: NavConfig[]; onItemClick?: (key: string, itemInfo: any, e: MouseEvent) => void; /** * @deprecated */ defaultOpenKeys?: string[]; /** * @deprecated */ collapsedKeys?: string[]; /** * @deprecated */ invisiblePaths?: string[]; } export {};