import { IQueryResult } from "../Query/IQueryResult"; import { ICacheOption } from "./ICacheOption"; export interface IResultCacheManager { get(key: string): Promise; gets(...keys: string[]): Promise; set(key: string, cache: IQueryResult[], option?: ICacheOption): Promise; clear(): Promise; removeTag(...tag: string[]): Promise; remove(...key: string[]): Promise; }