Difference between JitsiMeetJS and JitsiMeetExternalApi object

We plan to use Jitsi code base for integrating screen sharing and remote control functionality in our App (which runs on MAC, windows, Linux and iOS and android in future.

I observe 2 options for implementing this in documentation

JitsiMeetJS object (in lib-jitsi-meet)
JitsiMeetExternalApi object in WebSDK guide: Do not see if it can emit keyboard / mouse events as per the documentation.

I see JitsiMeetExternalApi also has APIs for emitting mouse events.

But, I do not see if it can emit keyboard event. Is there any issue with emitting keyboard events?

Which of the above 2 will be appropriate for use in an electron App?

Anish Nema