import * as i0 from "@angular/core"; export declare enum CacheKeys { INSTRUCTIONS_SHOWN = "instructions_shown" } export declare class AmplifyCacheService { constructor(); /** * Puts item in cache under a key * @param key : string. Key for lookup. * @param value : Iem to put (number, string, boolean, array or object) * @param expires : number. Time in future in milliseconds Date.getTime() * @param priority : number from 0 to 5. the cached item with the higher number will be expired first. */ putInCache(key: string, value: any, expires?: number, priority?: number): void; /** * Retrieves an item from the cache. It will return null if the item doesn’t exist or it has expired. * @param key string. Lookup key. * @returns any or null if nothing found. */ getFromCache(key: string): any; /** * Removes item from cache. * @param key string. Key to remove. */ removeFromCache(key: string): void; /** * Removes all of the items in the cache. */ clearCache(): void; /** * Returns all of the keys available in the cache. * @returns string[] */ getAllKeys(): string[] | Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }