import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BgxLocationService } from '@bgx/services/location'; import { ICurrentNodes, INavigationViews } from './navigation.interfaces'; export declare const navigationPath: string; export declare class BgxNavigationService { private _http; private _location; navigationViews: Observable; currentNodes: Observable; constructor(_http: HttpClient, _location: BgxLocationService); private fetchNavigationInfo; private getNavigationViews; private getCurrentNodes; /** * Compute a mapping from URL to an array of nodes, where the first node in the array * is the one that matches the URL and the rest are the ancestors of that node. * * @param navigation - A collection of navigation nodes that are to be mapped */ private computeUrlToNavNodesMap; /** * Add tooltip to node if it doesn't have one and have title. * If don't want tooltip, specify `"tooltip": ""` in navigation.json */ private ensureHasTooltip; private walkNodes; }