import type { Api, Model, ModelThinkingLevel, Usage } from "./types.js"; /** Calculates and stores model cost fields from token usage and per-million pricing. */ export declare function calculateCost(model: Model, usage: Usage): Usage["cost"]; /** Replaces the catalog estimate when the provider reports an authoritative billed total. */ export declare function applyProviderReportedUsageCost(usage: Usage, reportedCost: unknown): void; /** Returns thinking levels exposed by a reasoning-capable model. */ export declare function getSupportedThinkingLevels(model: Model): ModelThinkingLevel[]; /** Clamps a requested thinking level to the closest supported level for a model. */ export declare function clampThinkingLevel(model: Model, level: ModelThinkingLevel): ModelThinkingLevel; /** Compares model identity by provider and id. */ export declare function modelsAreEqual(a: Model | null | undefined, b: Model | null | undefined): boolean;