import { ICachePair } from '.'; export declare abstract class IStorageStrategy { abstract getAll(cacheKey: string, ctx?: any): Array>; abstract add(entity: ICachePair, cacheKey: string, ctx?: any): void; /** * @deprecated Use update instead. */ abstract updateAtIndex(index: number, entity: ICachePair, cacheKey: string, ctx?: any): void; abstract update?(index: number, entity: ICachePair, cacheKey: string, ctx?: any): void; /** * @deprecated Use remove instead. */ abstract removeAtIndex(index: number, cacheKey: string, ctx?: any): void; abstract remove?(index: number, entity: ICachePair, cacheKey: string, ctx?: any): void; abstract removeAll(cacheKey: string, ctx?: any): void; abstract addMany(entities: ICachePair[], cacheKey: string, ctx?: any): void; }