Revert "never import interfaces, ever"

This reverts commit 2e843fa4366f6e0ca057fa1678b7570d75993bcd.
Revert "back to snapshot, and don't import any of the internal interfaces, on the theory that it causes AOT issues"

This reverts commit 23348df54785ae0d53358a22a2fcea8a1cf22c43.
make sure query-stream squeezes out all the events