import { AIUsage } from './index.js';

/** Host-supplied per-million token rates — no baked rates in the module (R1). */
type HostRateTable = {
    promptUsdPerMillion: number;
    completionUsdPerMillion: number;
};
/**
 * Compute cost from raw token usage and a host rate table.
 * Returns null when the rate table is missing or non-finite.
 */
declare function computeCost(usage: AIUsage, hostRateTable: HostRateTable): number | null;

export { type HostRateTable, computeCost };
