Refactor(stmd.d.ts): export interfaces so they can be used in annotations.