import { Observable } from 'rxjs'; import { TableCache } from '../models/table-cache.model'; import * as i0 from "@angular/core"; export declare class TableCacheService { private localStorageCache; localStorageCache$: Observable; private sessionStorageCache; sessionStorageCache$: Observable; constructor(); loadCache(cacheKey: string | undefined): void; initCache(cacheLocation: string, cache: TableCache): void; initCacheAndSave(cacheKey: string, cacheLocation: string, cache: TableCache): void; saveCacheToStorage(cacheKey: string, cacheLocation: string): void; /** * this.tableCacheSvc.saveSettingToCache(cacheKey, cacheLocation, settingToBeSaved); * -- update local/session storage observable * -- save that observable to storage */ saveSettingToCache(cacheKey: string, cacheLocation: string, propertyName: string, settingToBeSaved: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }