-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,26 @@
import { CommandParser } from '../client/parser';
import { RedisArgument, ArrayReply, BlobStringReply } from '../RESP/types';
import { ZKeys } from './generic-transformers';
export type ZInterKeyAndWeight = {
key: RedisArgument;
weight: number;
};
export type ZInterKeys<T> = T | [T, ...Array<T>];
export type ZInterKeysType = ZInterKeys<RedisArgument> | ZInterKeys<ZInterKeyAndWeight>;
export interface ZInterOptions {
AGGREGATE?: 'SUM' | 'MIN' | 'MAX';
}
export declare function parseZInterArguments(parser: CommandParser, keys: ZKeys, options?: ZInterOptions): void;
declare const _default: {
readonly IS_READ_ONLY: true;
/**
* Intersects multiple sorted sets and returns the result as a new sorted set.
* @param parser - The Redis command parser.
* @param keys - Keys of the sorted sets to intersect.
* @param options - Optional parameters for the intersection operation.
*/
readonly parseCommand: (this: void, parser: CommandParser, keys: ZInterKeysType, options?: ZInterOptions) => void;
readonly transformReply: () => ArrayReply<BlobStringReply>;
};
export default _default;
//# sourceMappingURL=ZINTER.d.ts.map