@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) • 720 B
TypeScript
import { ValkeyCommandArgument, ValkeyCommandArguments } from ".";
import { StreamMessagesNullReply } from "./generic-transformers";
export declare const FIRST_KEY_INDEX = 1;
export interface XAutoClaimOptions {
COUNT?: number;
}
export declare function transformArguments(key: ValkeyCommandArgument, group: ValkeyCommandArgument, consumer: ValkeyCommandArgument, minIdleTime: number, start: string, options?: XAutoClaimOptions): ValkeyCommandArguments;
type XAutoClaimRawReply = [ValkeyCommandArgument, Array<any>];
interface XAutoClaimReply {
nextId: ValkeyCommandArgument;
messages: StreamMessagesNullReply;
}
export declare function transformReply(reply: XAutoClaimRawReply): XAutoClaimReply;
export {};