/**
 * Enhanced OpenAI-Compatible API Key Manager
 * Provides intelligent, stateful handling of API keys, including rate-limit-aware cooldowns.
 * This is an adaptation of the advanced manager built for the Gemini provider.
 * Project Owner: Jason Zhang
 */
export declare class EnhancedOpenAIKeyManager {
    private keys;
    private providerId;
    private roundRobinIndex;
    private readonly cooldownMs;
    private readonly immediateFailureThreshold;
    private readonly maxFailures;
    constructor(apiKeys: string[], providerId: string);
    /**
     * Selects the next available API key that is not in cooldown or blacklisted.
     */
    getNextAvailableKey(requestId?: string): string;
    /**
     * Reports a 429 error for a specific API key, triggering a cooldown.
     */
    report429Error(apiKey: string, requestId?: string): void;
    /**
     * Reports a generic, non-429 error.
     */
    reportGenericError(apiKey: string, requestId?: string): void;
    /**
     * Reports a successful request, resetting the failure counter for the key.
     */
    reportSuccess(apiKey: string, requestId?: string): void;
}
//# sourceMappingURL=enhanced-api-key-manager.d.ts.map