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.

17 lines (16 loc) 691 B
import { ValkeyCommandArgument, ValkeyCommandArguments } from "."; import { ScanOptions } from "./generic-transformers"; export declare const FIRST_KEY_INDEX = 1; export declare const IS_READ_ONLY = true; export declare function transformArguments(key: ValkeyCommandArgument, cursor: number, options?: ScanOptions): ValkeyCommandArguments; type HScanRawReply = [ValkeyCommandArgument, Array<ValkeyCommandArgument>]; export interface HScanTuple { field: ValkeyCommandArgument; value: ValkeyCommandArgument; } interface HScanReply { cursor: number; tuples: Array<HScanTuple>; } export declare function transformReply([cursor, rawTuples]: HScanRawReply): HScanReply; export {};