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

26 lines
989 B
TypeScript

import { CommandParser } from '../client/parser';
import { NumberReply } from '../RESP/types';
import { RedisVariadicArgument } from './generic-transformers';
/**
* Options for the SINTERCARD command
*
* @property LIMIT - Maximum number of elements to return
*/
export interface SInterCardOptions {
LIMIT?: number;
}
declare const _default: {
readonly IS_READ_ONLY: true;
/**
* Constructs the SINTERCARD command
*
* @param parser - The command parser
* @param keys - One or more set keys to compute the intersection cardinality from
* @param options - Options for the SINTERCARD command or a number for LIMIT (backwards compatibility)
* @see https://redis.io/commands/sintercard/
*/
readonly parseCommand: (this: void, parser: CommandParser, keys: RedisVariadicArgument, options?: SInterCardOptions | number) => void;
readonly transformReply: () => NumberReply;
};
export default _default;
//# sourceMappingURL=SINTERCARD.d.ts.map