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.

22 lines (21 loc) 617 B
import { ValkeyCommandArguments } from "."; export declare function transformArguments(): ValkeyCommandArguments; type FunctionStatsRawReply = [ "running_script", null | ["name", string, "command", string, "duration_ms", number], "engines", Array<any> ]; interface FunctionStatsReply { runningScript: null | { name: string; command: string; durationMs: number; }; engines: Record<string, { librariesCount: number; functionsCount: number; }>; } export declare function transformReply(reply: FunctionStatsRawReply): FunctionStatsReply; export {};