import type { LLMProviderDefinition, QualityTier, ProviderRecommendation, TaskComplexity } from '../../types/index.js';
export type { TaskComplexity } from '../../types/index.js';
/** Map task complexity to quality tier. */
export declare function complexityToTier(complexity: TaskComplexity): QualityTier;
/**
 * Find the cheapest provider+model that meets the quality tier requirement.
 * Returns ranked recommendations sorted by cost (cheapest first).
 */
export declare function optimizeCost(definitions: LLMProviderDefinition[], tier: QualityTier, language?: string): ProviderRecommendation[];
/**
 * Calculate potential savings compared to the most expensive provider for a tier.
 */
export declare function calculateSavings(definitions: LLMProviderDefinition[], tier: QualityTier, tokensEstimated: number): {
    cheapestProvider: string;
    expensiveProvider: string;
    savingsUsd: number;
    savingsPercent: number;
} | null;
/**
 * Get model equivalences for a given tier from config.
 */
export declare function getEquivalences(tier: QualityTier): {
    providerId: string;
    modelId: string;
}[];
//# sourceMappingURL=cost-optimizer.d.ts.map