How to clear DeleteSet?

Hi,

I have a YDoc where user has typed some content, and deleted some content as well. I’m trying to recover the deleted content.

This is what the doc looks like:

Would it be possible to clear the DeleteSet from the document, so that I could see the full history?

I couldn’t figure it out in the API.