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.

13 lines (12 loc) 586 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 SScanRawReply = [string, Array<ValkeyCommandArgument>]; interface SScanReply { cursor: number; members: Array<ValkeyCommandArgument>; } export declare function transformReply([cursor, members]: SScanRawReply): SScanReply; export {};