I have to pass an event from Native iOS swift code to the Rect type script

I need to pass data from my Swift (iOS) code to a React TypeScript application. I’m building a project that uses React with TypeScript, and for some native features, I need to use Swift. Specifically, when I click on a native button, a callback should be triggered in the React TypeScript code.
Any thoughts. I have tried to call notifyListeners but am unable to understand when I have to add the listener.

Thanks