Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/BZPOPMAX.d.ts
2025-11-11 12:36:06 +07:00

27 lines
1.4 KiB
TypeScript

import { CommandParser } from '../client/parser';
import { NullReply, TuplesReply, BlobStringReply, DoubleReply, UnwrapReply, TypeMapping } from '../RESP/types';
import { RedisVariadicArgument } from './generic-transformers';
declare const _default: {
readonly IS_READ_ONLY: false;
/**
* Removes and returns the member with the highest score in a sorted set, or blocks until one is available
* @param parser - The Redis command parser
* @param keys - Key of the sorted set, or array of keys to try sequentially
* @param timeout - Maximum seconds to block, 0 to block indefinitely
*/
readonly parseCommand: (this: void, parser: CommandParser, keys: RedisVariadicArgument, timeout: number) => void;
readonly transformReply: {
readonly 2: (this: void, reply: UnwrapReply<NullReply | TuplesReply<[BlobStringReply, BlobStringReply, BlobStringReply]>>, preserve?: any, typeMapping?: TypeMapping) => {
key: BlobStringReply<string>;
value: BlobStringReply<string>;
score: DoubleReply<number>;
} | null;
readonly 3: (this: void, reply: UnwrapReply<NullReply | TuplesReply<[BlobStringReply, BlobStringReply, DoubleReply]>>) => {
key: BlobStringReply<string>;
value: BlobStringReply<string>;
score: DoubleReply<number>;
} | null;
};
};
export default _default;
//# sourceMappingURL=BZPOPMAX.d.ts.map