export type ModelsDevModel = { id: string; name: string; family?: string; provider?: { npm: string; }; [key: string]: unknown; }; export type ModelsDevProvider = { id: string; name: string; npm?: string; models: Record; [key: string]: unknown; }; export type ModelsDevIndex = { byPlatformModel: Map; byCanonical: Map>; providers: Map; }; export type ModelsDevCache = { get: () => Promise; clear: () => void; }; export declare function buildModelsDevIndex(data: Record): ModelsDevIndex; export declare function fetchModelsDevData(): Promise; export declare function resolveWithModelsDevData(platformModelId: string, index: ModelsDevIndex): string | undefined; export declare function createModelsDevCache(ttlMs?: number, fetchFn?: () => Promise): ModelsDevCache;