Snap has a feature called content sharing which enables a snap to connect to assets (which can be data, shared objects, anything) in another snap.
If only there was some existing solution for packaging and deploying software where you could declare dependencies between shared resources...