import * as FsStore from '@cool-midway/cache-manager-fs-hash'; /** * cool 基于磁盘的缓存 */ declare class FsCacheStore { options: any; store: FsStore; constructor(options?: {}); /** * 获得 * @param key * @returns */ get(key: string): Promise; /** * 设置 * @param key * @param value * @param ttl */ set(key: string, value: T, ttl: number): Promise; /** * 删除 * @param key */ del(key: string): Promise; /** * 重置 */ reset(): Promise; } export declare const CoolCacheStore: (options?: {}) => FsCacheStore; export {};