getTypeAsync

external fun getTypeAsync(type: String): Promise<Blob>(source)

The getType() method of the ClipboardItem interface returns a Promise that resolves with a Blob of the requested MIME type or an error if the MIME type is not found.

MDN Reference