import type { PricingData, ResolvedPricing } from '../../types/index.js';
/**
 * Get pricing data — uses session cache, then local file cache, then live fetch.
 * Fire-and-forget background refresh when cache is stale.
 */
export declare function getPricingData(): PricingData | null;
/**
 * Fetch latest pricing from GitHub (latest main branch).
 * Runs in background when local cache is stale (>24h).
 * If fetch fails → silently keeps using bundled version.
 */
export declare function refreshPricingFromWeb(): Promise<void>;
/**
 * Resolve pricing for the current session.
 * Returns null if model unknown or pricing unavailable — NEVER invents.
 */
export declare function resolvePricing(explicitModelId?: string): ResolvedPricing | null;
/**
 * Calculate real cost from measured tokens. Returns null if pricing unavailable.
 */
export declare function calculateRealCost(inputTokens: number, outputTokens: number, pricing: ResolvedPricing): number;
export declare function getPricingAge(): string | null;
export declare function resetPricingCache(): void;
//# sourceMappingURL=pricing-resolver.d.ts.map