export = RateLimiter; declare class RateLimiter { loginsPerSecond: number; frame: {}; frameResetTimer: NodeJS.Timeout; init(): void; /** * Return a boolean indicating whether a request execution is allowed as per * the rate restriction configuration. * * auth:login is limited by the limits.loginsPerSecond configuration * auth:logout is NOT limited for authenticated users * * @param {Request} request * @returns {Boolean} */ isAllowed(request: Request): boolean; }