Export interfaces as part of a plugin

Hi there!

I am developing a capacitor plugin. I followed these instructions and the plugin is working. I would like to do some refactoring now. To be more precise, I would like to export some interfaces along with the plugin methods which the clients of the plugin can consume (e.g. interfaces encapsulating the parameters of the plugin methods). I am quite new to the React/Typescript environment. I know how to export objects in a “normal” Typescript setting, but for me this plugin system is kind of a closed book and I would be very happy if somebody could elaborate on this a little.

Thank you very much in advance.