import type { RateLimitOptions } from '../../shared/types/options'; export declare class RateLimiter { private readonly enabled; private readonly maxRequests; private readonly windowMs; private readonly requests; private cleanupInterval?; constructor(options?: RateLimitOptions); checkLimit(key?: string): Promise; getUsage(key?: string): { current: number; limit: number; remaining: number; resetAt: number; }; reset(key?: string): void; resetAll(): void; private cleanup; destroy(): void; isEnabled(): boolean; getConfig(): { maxRequests: number; windowMs: number; }; getStats(): { enabled: boolean; maxRequests: number; windowMs: number; activeKeys: number; totalRequests: number; }; } //# sourceMappingURL=RateLimiter.d.ts.map