import type { MeterConfig, ModelPrice, UsageInput } from "./types.js"; /** * Resolve a price for a model id. Config-provided prices win over defaults; matching tries * exact id, then prefix (table id is a prefix of the model), then substring either way. */ export declare function resolvePrice(model: string, config?: MeterConfig): ModelPrice | undefined; /** Compute the USD cost of a call given a price. Unknown cache rates count as zero. */ export declare function computeCost(usage: Pick, price: ModelPrice): number;