/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { ModelPricing } from "@workglow/ai"; /** * Resolve a model's effective rate card: the one its repository record declares, * merged field by field over the provider's published card. * * Memoized per model id for the process lifetime — rate cards do not change * mid-run, and the CLI re-reads usage on every snapshot, so an uncached lookup * would re-hit storage once per stream event. */ export declare function lookupModelPricing(modelId: string | undefined): Promise; /** Test-only: drop the memo so a suite can re-register models with new rates. */ export declare function clearModelPricingCache(): void;