/** * WS15: Registry merger — convert RegistryProvider entries into the * @zhachory1/mewrite-ai Model shape so they can be injected into ModelRegistry. * * Compatibility constraint: existing model-registry.ts consumers keep * working. The merger produces models in the same shape as getModels() * outputs — existing code paths are unchanged. */ import type { Api, Model } from "../types.js"; import type { Registry, RegistryModel, RegistryProvider } from "./schema.js"; /** * Convert a single RegistryModel + its parent RegistryProvider into * the Model shape used by @zhachory1/mewrite-ai's internal registry. */ export declare function registryModelToModel(provider: RegistryProvider, model: RegistryModel): Model | undefined; /** * Convert all models from a Registry into Model[] entries. * Unknown provider kinds are silently skipped. */ export declare function registryToModels(registry: Registry): Model[]; //# sourceMappingURL=merger.d.ts.map