The DesktopCapturerSource Object document has been published to Electron's master branch, but has not yet been included in an Electron release.
DesktopCapturerSource Object