Get screenshot from clipboard in electron js as arrayBuffer

Guys i need to get screenshot destop in electron js. Here is some libs to get screenshot, [https://www.npmjs.com/package/screenshot-desktop], also I tryed native api electron js [https://www.electronjs.org/docs/api/desktop-capturer] (this native api making only screen of electron app)

they are works fine but they make screenshot themself, when i call method screenshot (and returned as arrayBuffer), in my case i need to get screenshot(as arrayBuffer) from clipboard when clipboard has screenshot, that is if user clicked key PrtSc …

if any hint or example please share …