import { MtnaRouteMenuItem } from './route-menu-item.model'; import { MtnaRoute } from './route.model'; /** * A menu item that groups multiple routes under the same menu item. * This is useful when multiple routes load the same component & fall under the same menu routeLink. * @note only one route can be the navigated link, e.g. `route` * @example * { * path: 'resource', * component: resourceComponent * }, * { * path: 'edit/resource', * component: ResourceComponent, * data: { EDITABLE: true } * } * const resourceMenuItem: MtnaRouteGroupMenuItem = { route: new MtnaRoute('resource'), alternativeRoutes: ['edit/resource'] } */ export declare class MtnaRouteGroupMenuItem extends MtnaRouteMenuItem { alternativeRoutes: Array; /** * * @param alternativeRoutes Additional router commands/paths that fall under the 'routerLinkActive' state of this menu item. */ constructor(id: string, text: string, icon: string | undefined, route: MtnaRoute, alternativeRoutes: Array, svgIcon?: boolean, tooltip?: string); } /** Determines whether something is a {@link MtnaRouteGroupMenuItem }. */ export declare function isMtnaRouteGroupMenuItem(something: unknown): something is MtnaRouteGroupMenuItem;