/** Atomic Redis script that increments a counter and assigns its TTL. */ export declare const REDIS_RATE_LIMIT_INCREMENT_WITH_TTL_SCRIPT = "\nlocal count = redis.call(\"INCR\", KEYS[1])\nlocal ttl = redis.call(\"PTTL\", KEYS[1])\nif ttl < 0 then\n redis.call(\"PEXPIRE\", KEYS[1], ARGV[1])\n ttl = tonumber(ARGV[1])\nend\nreturn { count, ttl }\n"; //# sourceMappingURL=redis-rate-limit-script.d.ts.map