/**
 * Concurrency Controller
 *
 * Queue-based rate limiting with support for:
 * - Agent-specific limits
 * - Provider-specific limits (e.g., anthropic/*, openai/*)
 * - Model-specific limits (e.g., anthropic/claude-3-5-sonnet)
 */
import type { ConcurrencyConfig } from "./interfaces/concurrency-config.interface.js";
export type { ConcurrencyConfig } from "./interfaces/concurrency-config.interface.js";
export declare class ConcurrencyController {
    private counts;
    private queues;
    private limits;
    private config;
    private successStreak;
    private failureCount;
    constructor(config?: ConcurrencyConfig);
    setLimit(key: string, limit: number): void;
    /**
     * Get concurrency limit for a key.
     * Priority: explicit limit > model > provider > agent > default
     */
    getConcurrencyLimit(key: string): number;
    getLimit(key: string): number;
    acquire(key: string): Promise<void>;
    release(key: string): void;
    /**
     * Report success/failure (for metrics only - auto-scaling DISABLED)
     *
     * Auto-scaling has been removed for stability. Concurrency is now fixed at 5.
     * This method is kept for backwards compatibility and metrics tracking.
     */
    reportResult(key: string, success: boolean): void;
    getQueueLength(key: string): number;
    getActiveCount(key: string): number;
    /**
     * Get formatted concurrency info string (e.g., "2/5 slots")
     */
    getConcurrencyInfo(key: string): string;
}
