/** * Simple sliding-window rate limiter. * Tracks timestamps of recent requests and evicts entries older than the window. */ export declare class SlidingWindowRateLimiter { private readonly maxRequests; private readonly windowMs; private timestamps; constructor(maxRequests: number, windowMs: number); /** Returns true if the request is allowed, false if rate-limited. */ tryAcquire(): boolean; } //# sourceMappingURL=SlidingWindowRateLimiter.d.ts.map