import type { CatalogDirectSlice, ModelsCatalogJson } from "./types.js"; /** * Round USD-per-1M-token (or per-request) catalog prices to human-readable decimals, * stripping IEEE-754 noise from per-token × 1_000_000 conversion. */ export declare function roundCatalogPricingUsd(value: number): number; /** Canonical remote catalog asset (same host pattern as models-profiles.json). */ export declare const MODELS_CATALOG_REMOTE_URL = "https://open-assets.x12i.com/models-catalog.json"; /** @deprecated Legacy filename on open-assets; prefer {@link MODELS_CATALOG_REMOTE_URL}. */ export declare const LEGACY_OPENROUTER_CATALOG_REMOTE_URL = "https://open-assets.x12i.com/openrouter-models-catalog.json"; export declare const MODELS_CATALOG_FILENAME = "models-catalog.json"; export declare const MODELS_CATALOG_SCHEMA: "x12i.ai-profiles.models-catalog"; export type CatalogIndexRecord = { openRouterModelId: string; canonicalSlug?: string; directProvider?: string; directModelId?: string; }; /** Derive vendor-direct identity from an OpenRouter slug. */ export declare function parseDirectFromOpenRouterSlug(slug: string, family?: string): CatalogDirectSlice; /** Normalize legacy OpenRouter-only catalog or pass through unified catalog. */ export declare function normalizeModelsCatalog(raw: unknown): ModelsCatalogJson; export declare function buildModelsCatalogIndex(catalog: ModelsCatalogJson): Map; /** @deprecated Use {@link buildModelsCatalogIndex} */ export declare const buildOpenRouterCatalogIndex: typeof buildModelsCatalogIndex; //# sourceMappingURL=modelsCatalog.d.ts.map