-first commit

This commit is contained in:
2025-11-11 12:36:06 +07:00
commit b99c214434
5683 changed files with 713336 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
import { CommandParser } from '../client/parser';
import { NullReply, TuplesReply, BlobStringReply } from '../RESP/types';
import { ListSide, RedisVariadicArgument, Tail } from './generic-transformers';
export interface LMPopOptions {
COUNT?: number;
}
export declare function parseLMPopArguments(parser: CommandParser, keys: RedisVariadicArgument, side: ListSide, options?: LMPopOptions): void;
export type LMPopArguments = Tail<Parameters<typeof parseLMPopArguments>>;
declare const _default: {
readonly IS_READ_ONLY: false;
/**
* Constructs the LMPOP command
*
* @param parser - The command parser
* @param args - Arguments including keys, side (LEFT or RIGHT), and options
* @see https://redis.io/commands/lmpop/
*/
readonly parseCommand: (this: void, parser: CommandParser, keys: RedisVariadicArgument, side: ListSide, options?: LMPopOptions | undefined) => void;
readonly transformReply: () => NullReply | TuplesReply<[
key: BlobStringReply,
elements: Array<BlobStringReply>
]>;
};
export default _default;
//# sourceMappingURL=LMPOP.d.ts.map