After fighting with typst *all day* because of it's lack of any cross-file introspection, I have finally made myself a workaround that works and doesn't make me horribly anxious.
Just set a bunch of show rules so that your include doesn't render anything in the final document! If you do that, your labels and state variables all import just fine! This totally won't break!
I hate it, devs please let me query another file, please.

