/// export declare function hasBinary(obj: any, toJSON?: boolean): boolean; export declare function duplicateClient(redisClient: any): Promise; /** * @see https://redis.io/commands/xread/ */ export declare function XREAD(redisClient: any, streamName: string, offset: string, readCount: number, blockTimeInMs: number): any; /** * @see https://redis.io/commands/xadd/ */ export declare function XADD(redisClient: any, streamName: string, payload: any, maxLenThreshold: number): any; /** * @see https://redis.io/commands/xrange/ */ export declare function XRANGE(redisClient: any, streamName: string, start: string, end: string): any; /** * @see https://redis.io/commands/set/ */ export declare function SET(redisClient: any, key: string, value: string, expiryInSeconds: number): any; /** * @see https://redis.io/commands/getdel/ */ export declare function GETDEL(redisClient: any, key: string): any; export declare function hashCode(str: string): number; export declare function PUBLISH(redisClient: any, channel: string, payload: Buffer): any; export declare function SPUBLISH(redisClient: any, channel: string, payload: Buffer): any; export declare function SUBSCRIBE(subClient: any, channels: string[], listener: (payload: Buffer) => void): void; export declare function SSUBSCRIBE(subClient: any, channels: string[], listener: (payload: Buffer) => void): void; export declare function PUBSUB(redisClient: any, arg: "NUMSUB" | "SHARDNUMSUB", channel: string): any;