import type { TokenUsage } from "../types/analytics.js";
/**
 * Calculate the dollar cost of a generate/stream call based on token usage.
 * Returns 0 if the provider/model combination is not in the pricing table.
 */
export declare function calculateCost(provider: string, model: string, usage: TokenUsage): number;
/**
 * Check if pricing is available for a provider/model combination.
 * Checks the rate table directly instead of computing a cost,
 * so even very cheap models (e.g. gemini-1.5-flash) are detected correctly.
 */
export declare function hasPricing(provider: string, model: string): boolean;
