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.

19 lines (18 loc) 614 B
import { ValkeyCommandArgument, ValkeyCommandArguments } from "."; import { RangeReply, RawRangeReply } from "./generic-transformers"; export { FIRST_KEY_INDEX, IS_READ_ONLY } from "./LCS"; export declare function transformArguments(key1: ValkeyCommandArgument, key2: ValkeyCommandArgument): ValkeyCommandArguments; type RawReply = [ "matches", Array<[key1: RawRangeReply, key2: RawRangeReply]>, "len", number ]; interface Reply { matches: Array<{ key1: RangeReply; key2: RangeReply; }>; length: number; } export declare function transformReply(reply: RawReply): Reply;