You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
594 B

import { RedisCommandArgument, RedisCommandArguments } from '.';
import { ScanOptions } from './generic-transformers';
export declare const IS_READ_ONLY = true;
export interface ScanCommandOptions extends ScanOptions {
TYPE?: RedisCommandArgument;
}
export declare function transformArguments(cursor: number, options?: ScanCommandOptions): RedisCommandArguments;
type ScanRawReply = [string, Array<string>];
export interface ScanReply {
cursor: number;
keys: Array<RedisCommandArgument>;
}
export declare function transformReply([cursor, keys]: ScanRawReply): ScanReply;
export {};