/** * 通过cache 获取结果集 * @param params */ export declare function cache(params: { prefix: string; keyExpress?: string; expiresIn?: number; }): (target: any, name: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * 在方法执行完后,清除 cache * @param params */ export declare function clearCache(params: { prefix: string; keyExpress?: string; }): (target: any, name: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * 手工删除cache * @param params * @param args */ export declare function delCache(params: { prefix: string; keyExpress: string; }, ...args: any[]): void;