import { HttpClient } from "@angular/common/http";
import { BaseSessionRetriever, CachePersistor } 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 ApplicationCachePersistor extends CachePersistor {
    private lc;
    private http;
    private tks;
    constructor(lc: LocalizationService, http: HttpClient, tks: TokenService, session: BaseSessionRetriever);
    persist<T>(key: string, item: T): Observable<boolean>;
    recover<T>(key?: string): Observable<T>;
    recoverAll(): Observable<{
        [index: string]: any;
    }>;
    remove(key?: string): Observable<boolean>;
    clear(): Observable<boolean>;
    private getHeaders;
    private getSessionUrl;
    private getItemsUrl;
    private getItemUrl;
    static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationCachePersistor, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationCachePersistor>;
}
