index.d.ts 751 B

12345678910111213
  1. import RedisClient from './lib/client';
  2. import RedisCluster from './lib/cluster';
  3. export { RedisClientType, RedisClientOptions } from './lib/client';
  4. export { RedisModules, RedisFunctions, RedisScripts } from './lib/commands';
  5. export declare const createClient: typeof RedisClient.create;
  6. export declare const commandOptions: typeof RedisClient.commandOptions;
  7. export { RedisClusterType, RedisClusterOptions } from './lib/cluster';
  8. export declare const createCluster: typeof RedisCluster.create;
  9. export { defineScript } from './lib/lua-script';
  10. export * from './lib/errors';
  11. export { GeoReplyWith } from './lib/commands/generic-transformers';
  12. export { SetOptions } from './lib/commands/SET';
  13. export { RedisFlushModes } from './lib/commands/FLUSHALL';