import { IPromise } from '@pilotlab/result'; import ICache from './iCache'; export declare abstract class Cache implements ICache { private _cache; get(key: string, isCache?: boolean): IPromise; preLoad(key: string): IPromise; release(key: string): void; releaseAll(): void; protected p_createNew(key: string, result: IPromise, isCache: boolean): IPromise; } export default Cache;