import type { PlatformRateLimit } from "./integration-types.js";
/**
 * Per-platform token bucket rate limiter for integration tests.
 * Ensures requests to external platforms stay within configured limits.
 */
export declare class PlatformRateLimiter {
    private buckets;
    private overrides;
    constructor(overrides?: Record<string, PlatformRateLimit>);
    /**
     * Acquire a token for the given platform. Waits if no tokens available.
     */
    acquire(platform: string): Promise<void>;
    /**
     * Get rate limit config for a platform.
     */
    getLimit(platform: string): PlatformRateLimit;
    private getBucket;
    private refill;
}
