import type { NextFunction, Request, Response } from 'express'; import type { AuthConfig } from '../config/AuthConfig.js'; import type { AuthEventDispatcher } from '../events/AuthEventDispatcher.js'; import type { MemoryRateLimiter } from '../support/MemoryRateLimiter.js'; /** * Rate-limits login routes keyed by IP + email field. */ export declare class ThrottleLogins { private readonly limiter; private readonly config; private readonly dispatch; private readonly emailField; /** * @param limiter - Shared rate limiter instance. * @param config - Throttle slice from auth config. * @param dispatch - Event dispatcher. * @param emailField - Body/query field used for the throttle key. */ constructor(limiter: MemoryRateLimiter, config: AuthConfig['throttle'], dispatch: AuthEventDispatcher, emailField?: string); /** * Express middleware entrypoint. */ handle(req: Request, res: Response, next: NextFunction): Promise; } //# sourceMappingURL=ThrottleLogins.d.ts.map