import { RateLimitConfig, RateLimitResult } from './rateLimitTypes'; /** * Rate limiter using token bucket algorithm */ export declare class RateLimiter { private static instance; private buckets; private configs; private constructor(); static getInstance(): RateLimiter; /** * Set rate limit configuration for an operation */ setLimit(operation: string, config: RateLimitConfig): void; /** * Check if operation is allowed */ checkLimit(operation: string, identifier?: string): RateLimitResult; /** * Reset rate limit for an operation */ reset(operation: string, identifier?: string): void; /** * Clear all rate limits */ clear(): void; private getBucket; } //# sourceMappingURL=rateLimiter.d.ts.map