// Type definitions for rate-limit-redis 1.6 // Project: https://github.com/wyattjoh/rate-limit-redis#readme // Definitions by: Chris Suich // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.7 import { RedisClient } from 'redis'; import { Store } from 'express-rate-limit'; interface RedisStoreOptions { expiry?: number; prefix?: string; resetExpiryOnChange?: boolean; client?: RedisClient; } declare function RedisStore(options?: RedisStoreOptions): Store; export = RedisStore;