import { ChangeDetectorRef, OnDestroy } from '@angular/core'; import { MatSidenav } from '@angular/material/sidenav'; import { MediaMatcher } from '@angular/cdk/layout'; import { SideMenuItem } from '../../models/navigation-menu.model'; import * as i0 from "@angular/core"; /** * The component accepts menu items data as configurable input parameter and the menus are populated based on it. * The component checks the defined mobile device resolution and accordingly updates the side navigation menu view. * The component accepts menu opened/closed state as an input parameter. By default, the side menu is configured to open state. * @export * @class NavigationMenuComponent * @implements {OnDestroy} */ export declare class NavigationMenuComponent implements OnDestroy { changeDetectorRef: ChangeDetectorRef; media: MediaMatcher; isMenuOpen: boolean; sideMenu: SideMenuItem[]; navMenu: MatSidenav; mobileQuery: MediaQueryList; mobileQueryListener: () => void; constructor(changeDetectorRef: ChangeDetectorRef, media: MediaMatcher); /** * Takes the index and the current item as arguments and needs to return the unique identifier for this item. * @param {number} index * @param {array} menuItems * @return {number} * @memberof NavigationMenuComponent */ trackByFn(index: number, menuItems: any): number; /** * This method returns the status for menu to be opened or closed by default, basis on device resolution * @return {boolean} * @memberof NavigationMenuComponent */ isMenuOpened(): boolean; /** * Toggles the navigation menu state. * @memberof NavigationMenuComponent */ toggleNavMenu(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }