import type { RateLimitConfig } from './types.js'; /** * Token bucket rate limiter with async acquisition. */ export declare class RateLimiter { private config; private tokens; private lastRefill; constructor(config: RateLimitConfig); acquire(): Promise; private refill; } export declare function isRateLimitError(message: string | null): boolean; export declare function calculateBackoffMs(attempt: number, strategy: RateLimitConfig['backoffStrategy']): number; //# sourceMappingURL=rate-limiter.d.ts.map