/** * Sliding-window rate limiter using fixed-window approximation. * No external dependencies. */ export declare class SlidingWindowLimiter { private readonly maxRequests; private readonly windowMs; private readonly windows; constructor(maxRequests: number, windowMs: number); check(key: string): { allowed: true; } | { allowed: false; retryAfterMs: number; }; cleanup(): void; } //# sourceMappingURL=rateLimiter.d.ts.map