24 lines
1.3 KiB
TypeScript
24 lines
1.3 KiB
TypeScript
import { CommandParser } from '../client/parser';
|
|
import { RedisArgument } from '../RESP/types';
|
|
declare const _default: {
|
|
readonly IS_READ_ONLY: false;
|
|
/**
|
|
* Removes and returns up to count members with the highest scores in the sorted set.
|
|
* @param parser - The Redis command parser.
|
|
* @param key - Key of the sorted set.
|
|
* @param count - Number of members to pop.
|
|
*/
|
|
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, count: number) => void;
|
|
readonly transformReply: {
|
|
2: (reply: import("../RESP/types").ArrayReply<import("../RESP/types").BlobStringReply<string>>, preserve?: any, typeMapping?: import("../RESP/types").TypeMapping | undefined) => {
|
|
value: import("../RESP/types").BlobStringReply<string>;
|
|
score: import("../RESP/types").DoubleReply<number>;
|
|
}[];
|
|
3: (reply: import("../RESP/types").ArrayReply<import("../RESP/types").TuplesReply<[import("../RESP/types").BlobStringReply<string>, import("../RESP/types").DoubleReply<number>]>>) => {
|
|
value: import("../RESP/types").BlobStringReply<string>;
|
|
score: import("../RESP/types").DoubleReply<number>;
|
|
}[];
|
|
};
|
|
};
|
|
export default _default;
|
|
//# sourceMappingURL=ZPOPMAX_COUNT.d.ts.map
|