/**
 * @packageDocumentation
 * @module navconfig-loader
 */
import { NavItemConfig, NotificationService } from '@alauda/ui';
import { HttpClient } from '@angular/common/http';
import { InjectionToken } from '@angular/core';
import { Observable } from 'rxjs';
import { TranslateService } from '../translate/public-api';
import { NavItem } from './types';
export declare const NAV_CONFIG_LOCAL_STORAGE_KEY: InjectionToken<string>;
export declare class NavConfigLoaderService {
    private readonly http;
    private readonly translate;
    private readonly notification;
    private readonly localStorageKey;
    private readonly cachedConfig;
    constructor(http: HttpClient, translate: TranslateService, notification: NotificationService, localStorageKey?: string);
    loadNavConfig(address: string): Observable<string>;
    parseYaml(): import("rxjs").OperatorFunction<string, NavItem[]>;
    mapToAuiNav(): import("rxjs").UnaryFunction<Observable<NavItem[]>, Observable<NavItemConfig[]>>;
    private buildLoadStream;
    private readonly mapToAuiNavItem;
    private toastParseError;
    private localKey;
    private setLocal;
    private getLocal;
}
