Files
micro-service-api/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYPROB.d.ts
2025-11-11 12:36:06 +07:00

16 lines
822 B
TypeScript

import { CommandParser } from '@redis/client/dist/lib/client/parser';
import { RedisArgument, SimpleStringReply } from '@redis/client/dist/lib/RESP/types';
declare const _default: {
readonly IS_READ_ONLY: false;
/**
* Initialize a Count-Min Sketch using error rate and probability parameters
* @param parser - The command parser
* @param key - The name of the sketch
* @param error - Estimate error, as a decimal between 0 and 1
* @param probability - The desired probability for inflated count, as a decimal between 0 and 1
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, error: number, probability: number) => void;
readonly transformReply: () => SimpleStringReply<'OK'>;
};
export default _default;
//# sourceMappingURL=INITBYPROB.d.ts.map