You can create and use parameters in your foreground. You can also connect provider from the library, but the exchange (belonging to the foreground and not the library) can have parameters and equations in it. If the parameter is inside the library, the library can be modified, so this is against the concept of the library.
When you create a product system, you can have parameter lists that you can save and also export and import via copy/paste. Also in the parameter list, you will see all processes that have paramters, listed and sorted by process. So you don't need to remember which process has internal paramters.
The way you describe is the standard way, that's good. Your foreground model can be in JSON, that's the easiest way to import, export, sharing it. And the library can be simply connected to a completely empty database.
The custom methods that you downloaded from Nexus or that you created yourself, you can also simply put into your foreground JSON model. When you export your model into JSON, you can select all processes that you created, and you can select all the methods that you created or that you want to have inside this JSON. When you later import the foreground JSON into your empty database with a library, the methods will be also there.
You can import and export any existing database element that you want into JSON.