import { Client } from '@tdi-mc/core'; import { CacheConfig } from './cache.config'; export interface ICacheStore { connect(): Promise; disconnect(): Promise; keys(keyPattern: string): Promise; setItem(key: string, value: string, expiry?: number): Promise; getItem(key: string): Promise; delItem(key: string): Promise; } export interface CacheClient extends Client { keys(key: string, opts?: { namespace?: string; }, conId?: string): Promise; set(key: string, value: T, opts?: { namespace?: string; expiry?: number; }, conId?: string): Promise; get(key: string, opts?: { namespace?: string; }, conId?: string): Promise; del(key: string, opts?: { namespace?: string; }, conId?: string): Promise; } //# sourceMappingURL=cache.client.d.ts.map