import RedisWrapper from "../../redis"; declare const _default: { new (client?: RedisWrapper | undefined): { client: RedisWrapper | undefined; getClient(): Promise; keys(pattern: string): Promise; /** * Read only from the cache. */ get(key: string, opts?: { useTenancy: boolean; }): Promise; /** * Write to the cache. */ store(key: string, value: any, ttl?: number | null, opts?: { useTenancy: boolean; }): Promise; /** * Remove from cache. */ delete(key: string, opts?: { useTenancy: boolean; }): Promise; /** * Read from the cache. Write to the cache if not exists. */ withCache(key: string, ttl: number, fetchFn: any, opts?: { useTenancy: boolean; }): Promise; bustCache(key: string, opts?: { client: null; }): Promise; }; }; export = _default;