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