import * as i0 from "@angular/core";
export declare class NgxLinkPreviewCacheService {
    /** Holds the current cache state (RAM cache) */
    private cache;
    /** localStorage cache key */
    private localStorageKey;
    constructor();
    /**
     * Try to load the cache from localstorage
     */
    private loadCacheFromLocalStorage;
    /**
     * Update item in RAM cache
     */
    updateCacheItem(cacheKey: string, data: any): void;
    /**
     * Get item from cache
     */
    getCacheItem(cacheKey: string): any;
    /**
     * Save whole cache to localStorage
     */
    saveCache(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<NgxLinkPreviewCacheService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<NgxLinkPreviewCacheService>;
}
