@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) • 561 B
TypeScript
import { ValkeyCommandArgument, ValkeyCommandArguments } from ".";
export declare const FIRST_KEY_INDEX = 1;
interface XAddOptions {
NOMKSTREAM?: true;
TRIM?: {
strategy?: "MAXLEN" | "MINID";
strategyModifier?: "=" | "~";
threshold: number;
limit?: number;
};
}
export declare function transformArguments(key: ValkeyCommandArgument, id: ValkeyCommandArgument, message: Record<string, ValkeyCommandArgument>, options?: XAddOptions): ValkeyCommandArguments;
export declare function transformReply(): string;
export {};