index.d.ts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
  2. import * as ADD from './ADD';
  3. import * as BYRANK from './BYRANK';
  4. import * as BYREVRANK from './BYREVRANK';
  5. import * as CDF from './CDF';
  6. import * as CREATE from './CREATE';
  7. import * as INFO from './INFO';
  8. import * as MAX from './MAX';
  9. import * as MERGE from './MERGE';
  10. import * as MIN from './MIN';
  11. import * as QUANTILE from './QUANTILE';
  12. import * as RANK from './RANK';
  13. import * as RESET from './RESET';
  14. import * as REVRANK from './REVRANK';
  15. import * as TRIMMED_MEAN from './TRIMMED_MEAN';
  16. declare const _default: {
  17. ADD: typeof ADD;
  18. add: typeof ADD;
  19. BYRANK: typeof BYRANK;
  20. byRank: typeof BYRANK;
  21. BYREVRANK: typeof BYREVRANK;
  22. byRevRank: typeof BYREVRANK;
  23. CDF: typeof CDF;
  24. cdf: typeof CDF;
  25. CREATE: typeof CREATE;
  26. create: typeof CREATE;
  27. INFO: typeof INFO;
  28. info: typeof INFO;
  29. MAX: typeof MAX;
  30. max: typeof MAX;
  31. MERGE: typeof MERGE;
  32. merge: typeof MERGE;
  33. MIN: typeof MIN;
  34. min: typeof MIN;
  35. QUANTILE: typeof QUANTILE;
  36. quantile: typeof QUANTILE;
  37. RANK: typeof RANK;
  38. rank: typeof RANK;
  39. RESET: typeof RESET;
  40. reset: typeof RESET;
  41. REVRANK: typeof REVRANK;
  42. revRank: typeof REVRANK;
  43. TRIMMED_MEAN: typeof TRIMMED_MEAN;
  44. trimmedMean: typeof TRIMMED_MEAN;
  45. };
  46. export default _default;
  47. export interface CompressionOption {
  48. COMPRESSION?: number;
  49. }
  50. export declare function pushCompressionArgument(args: RedisCommandArguments, options?: CompressionOption): RedisCommandArguments;
  51. export declare function transformDoubleReply(reply: string): number;
  52. export declare function transformDoublesReply(reply: Array<string>): Array<number>;