Function: defineCatalog()
defineCatalog(
inputs: readonlyCatalogInput[]):Catalog
Build a catalog from a list of components, [component, manifest] pairs,
and/or function entries. Duplicate names within the same kind are rejected.
Function entries register their impls into functionRegistry immediately,
so any executeFunctionCall after defineCatalog can route to them.