import { HttpClient } from "@angular/common/http";
import { BaseSessionRetriever, PreferencesPersistor } from "@esfaenza/preferences";
import { LocalizationService } from "@esfaenza/localizations";
import { TokenService } from "../app.accesstoken";
import { Observable } from "rxjs";
import * as i0 from "@angular/core";
export declare class ApplicationPreferencesPersistor extends PreferencesPersistor {
    private lc;
    private http;
    private tks;
    constructor(lc: LocalizationService, http: HttpClient, tks: TokenService, session: BaseSessionRetriever);
    persist<T>(key: string, item: T, global?: boolean): Observable<boolean>;
    recover<T>(key?: string, global?: boolean): Observable<T>;
    recoverAll(global?: boolean): Observable<{
        [index: string]: any;
    }>;
    remove(key?: string, global?: boolean): Observable<boolean>;
    clear(global?: boolean): Observable<boolean>;
    private getHeaders;
    private getSessionUrl;
    private getItemsUrl;
    private getItemUrl;
    static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationPreferencesPersistor, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationPreferencesPersistor>;
}
