Access original state of SNAP installation (IMPORTANT)

In official documentation of post-refresh hook, it is said that

if the test causes the hook to fail, the refresh will be rolled-back and the original state of the snap restored

What is the folder location where original state of snap is backed up? How do I access it from post-refresh hook?

@mvo can you help out with this one?