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.

30 lines (29 loc) 969 B
import { ValkeyCommandArgument, ValkeyCommandArguments } from "."; export declare function transformArguments(count?: number): ValkeyCommandArguments; type AclLogRawReply = [ _: ValkeyCommandArgument, count: number, _: ValkeyCommandArgument, reason: ValkeyCommandArgument, _: ValkeyCommandArgument, context: ValkeyCommandArgument, _: ValkeyCommandArgument, object: ValkeyCommandArgument, _: ValkeyCommandArgument, username: ValkeyCommandArgument, _: ValkeyCommandArgument, ageSeconds: ValkeyCommandArgument, _: ValkeyCommandArgument, clientInfo: ValkeyCommandArgument ]; interface AclLog { count: number; reason: ValkeyCommandArgument; context: ValkeyCommandArgument; object: ValkeyCommandArgument; username: ValkeyCommandArgument; ageSeconds: number; clientInfo: ValkeyCommandArgument; } export declare function transformReply(reply: Array<AclLogRawReply>): Array<AclLog>; export {};