import * as i0 from '@angular/core'; import { OnInit, OnDestroy, TemplateRef, EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core'; import { Router } from '@angular/router'; import { ReplaySubject } from 'rxjs'; import { Breadcrumb } from '@finastra/angular-components/breadcrumb'; import { MatSidenav } from '@angular/material/sidenav'; interface NavigationNode { path?: string; title?: string; tooltip?: string; icon?: string; openInNewTab?: boolean; } /** * view: 'SideNav' | 'TopBar' | 'Footer' | etc */ interface NavigationViews { [view: string]: NavigationNode[]; } interface ParamMapBuilder { [key: string]: () => Promise; } declare class GlobalNavComponent implements OnInit, OnDestroy { private router; appName: string; shortName: string; navigationNodes: NavigationNode[]; activeRoute: string; currentNode: NavigationNode; brandIcon: string | undefined; appContent: TemplateRef; navbarAction: TemplateRef; headerTitle: string; menuClick: EventEmitter; brandAction: EventEmitter; nodeChosen: EventEmitter; logout: EventEmitter; currentRoute: ReplaySubject; constructor(router: Router); ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NavbarComponent implements OnInit, OnDestroy, OnChanges { breadcrumbs: Breadcrumb[]; brandIcon: string | undefined; currentNode: NavigationNode; navbarAction: TemplateRef; appName: string; menuClick: EventEmitter; brandAction: EventEmitter; nodeChosen: EventEmitter; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; onMenuClick(): void; private buildBreadCrumb; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SidenavComponent implements OnInit, OnChanges { private _host; private cd; appName: string; shortName: string; navigationNodes: NavigationNode[]; activeRoute: string; headerTitle: string; logout: EventEmitter; nodeChosen: EventEmitter; currentNodes: NavigationNode[]; iconName: string; constructor(_host: MatSidenav, cd: ChangeDetectorRef); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private getIconName; onClick(node: NavigationNode): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export { GlobalNavComponent, NavbarComponent, SidenavComponent }; export type { NavigationNode, NavigationViews, ParamMapBuilder };