import { MtnaBaseMenuItem } from './base-menu-item.model'; import { MtnaRouteMenuItem } from './route-menu-item.model'; import { MtnaRoute } from './route.model'; /** A menu item that has children and represents a single route. */ export declare class MtnaParentRouteMenuItem extends MtnaRouteMenuItem { children: Array; expanded: boolean; /** * @param id Unique identifier for the item * @param text The text to display for the item * @param icon The icon to represent the item, or undefined for no icon * @param route Model to describe routing and all available options from `RouterLink` * @param children The parent's children items * @param expanded Whether the item is expanded, defaults to false * @param svgIcon Whether the icon is an SVG icon, defaults to false * @param tooltip Text to provide in a tooltip on hover */ constructor(id: string, text: string, icon: string | undefined, route: MtnaRoute, children: Array, expanded?: boolean, svgIcon?: boolean, tooltip?: string); } /** * Typeguard to determine if something is a `MtnaParentRouteMenuItem`. * * @param something something to check if it is a `MtnaParentRouteMenuItem`. * @returns whether something is a `MtnaParentRouteMenuItem`. */ export declare function isMtnaParentRouteMenuItem(something: unknown): something is MtnaParentRouteMenuItem;