import type { AiModelConfig, AiModelPricingConfig } from '../../types/index.js';
/**
 * Loads the AI model pricing configuration from disk.
 * Results are cached after the first load.
 */
export declare function loadPricingConfig(): Promise<AiModelPricingConfig>;
/** Clears the in-memory cache (used in tests). */
export declare function clearPricingCache(): void;
/**
 * Returns all configured AI models.
 */
export declare function getAllModels(): Promise<readonly AiModelConfig[]>;
/**
 * Finds a model by its ID. Returns null if not found.
 */
export declare function findModel(modelId: string): Promise<AiModelConfig | null>;
/**
 * Calculates the estimated cost in USD for a given model and token counts.
 *
 * Formula: (inputTokens / 1_000_000 × inputPrice) + (outputTokens / 1_000_000 × outputPrice)
 */
export declare function calculateCost(model: AiModelConfig, inputTokens: number, outputTokens: number): number;
/**
 * Returns the number of agent turns needed to generate the given LOC count.
 */
export declare function calculateAgentTurns(model: AiModelConfig, locToGenerate: number): number;
/**
 * Returns true if the pricing config is older than STALE_DAYS days.
 */
export declare function isPricingStale(lastUpdated: string): boolean;
//# sourceMappingURL=model-pricing.d.ts.map