UNPKG

@valkey/client

Version:

The source code and documentation for this package are in the main [node-redis](https://github.com/redis/node-redis) repo.

15 lines (14 loc) 611 B
import { ValkeyCommandArgument, ValkeyCommandArguments } from "."; import { ZMember } from "./generic-transformers"; export declare const FIRST_KEY_INDEX = 1; export declare function transformArguments(key: ValkeyCommandArgument | Array<ValkeyCommandArgument>, timeout: number): ValkeyCommandArguments; type ZMemberRawReply = [ key: ValkeyCommandArgument, value: ValkeyCommandArgument, score: ValkeyCommandArgument ] | null; type BZPopMaxReply = (ZMember & { key: ValkeyCommandArgument; }) | null; export declare function transformReply(reply: ZMemberRawReply): BZPopMaxReply | null; export {};