import { IPromise } from '@pilotlab/result'; export interface ICache { get(key: string, isCache?: boolean): IPromise; preLoad(key: string): IPromise; release(key: string): void; releaseAll(): void; } export default ICache;