export interface ICache { get(key: string): Promise; hGet(key: string, field: string): Promise; set(key: string, value: any, ttl?: number): void; hSet(key: string, field: string, value: any): Promise; has(key: string): Promise; keys(appendCriteria?: string): Promise; delete(key: string | string[]): Promise; hDelete(key: string, field: string): Promise; deleteAll(appendCriteria?: string): Promise; }