How to completely remove snapd and flatpak from Manjaro?

No, I was referring to the directory in / where snapd installs all the snaps. In Ubuntu, apt remove snapd only removes snapd, but all the files that were downloaded for running the snaps are still there. (Removing snap from home is easy).

In Ubuntu, one has to do sudo apt autoremove --purge snapd to remove snapd along with all the snaps and config files installed by snapd. I was looking for a similar command in Manjaro, for both snapd and flatpak.