import { BaseHelper } from '../../base/base.helper'; import { Cluster, Redis } from 'ioredis'; import { IRedisHelperCallbacks } from './types'; export declare class DefaultRedisHelper extends BaseHelper { client: Redis | Cluster; name: string; constructor(opts: { scope: string; identifier: string; client: Redis | Cluster; } & IRedisHelperCallbacks); getClient(): Redis | Cluster; ping(): Promise<"PONG">; connect(): Promise; disconnect(): Promise; set(opts: { key: string; value: any; options?: { log: boolean; }; }): Promise; get(opts: { key: string; transform?: (input: string) => any; }): Promise; del(opts: { keys: Array; }): Promise; getString(opts: { key: string; }): Promise; getStrings(opts: { keys: Array; }): Promise; getObject(opts: { key: string; }): Promise; getObjects(opts: { keys: Array; }): Promise; hset(opts: { key: string; value: any; options?: { log: boolean; }; }): Promise; hSet(opts: { key: string; value: any; options?: { log: boolean; }; }): Promise; hgetall(opts: { key: string; transform?: (input: T) => R; }): Promise; hGetAll(opts: { key: string; transform?: (input: T) => R; }): Promise; mset(opts: { payload: Array<{ key: string; value: any; }>; options?: { log: boolean; }; }): Promise; mSet(opts: { payload: Array<{ key: string; value: any; }>; options?: { log: boolean; }; }): Promise; mget(opts: { keys: Array; transform?: (input: string) => any; }): Promise; mGet(opts: { keys: Array; transform?: (input: string) => any; }): Promise; keys(opts: { key: string; }): Promise; jSet(opts: { key: string; path: string; value: T; }): Promise; jGet(opts: { key: string; path?: string; }): Promise; jDelete(opts: { key: string; path?: string; }): Promise; jNumberIncreaseBy(opts: { key: string; path: string; value: number; }): Promise; jStringAppend(opts: { key: string; path: string; value: string; }): Promise; jPush(opts: { key: string; path: string; value: T; }): Promise; jPop(opts: { key: string; path: string; }): Promise; execute(command: string, parameters?: Array): Promise; publish(opts: { topics: Array; payload: T; useCompress?: boolean; }): Promise; subscribe(opts: { topic: string; }): void; } //# sourceMappingURL=default.helper.d.ts.map