@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) • 599 B
TypeScript
import { ValkeyCommandArgument, ValkeyCommandArguments } from ".";
import { ScanOptions } from "./generic-transformers";
export declare const IS_READ_ONLY = true;
export interface ScanCommandOptions extends ScanOptions {
TYPE?: ValkeyCommandArgument;
}
export declare function transformArguments(cursor: number, options?: ScanCommandOptions): ValkeyCommandArguments;
type ScanRawReply = [string, Array<string>];
export interface ScanReply {
cursor: number;
keys: Array<ValkeyCommandArgument>;
}
export declare function transformReply([cursor, keys]: ScanRawReply): ScanReply;
export {};