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.

17 lines (16 loc) 454 B
import { ValkeyCommandArgument, ValkeyCommandArguments } from "."; export declare const FIRST_KEY_INDEX = 1; type GetExModes = { EX: number; } | { PX: number; } | { EXAT: number | Date; } | { PXAT: number | Date; } | { PERSIST: true; }; export declare function transformArguments(key: ValkeyCommandArgument, mode: GetExModes): ValkeyCommandArguments; export declare function transformReply(): ValkeyCommandArgument | null; export {};