Feature/export transform

Code gen for `///ts:export=filename|foldername`. Closes #88