you might encounter this error:
public member 'XXXX' of exported class has or is using private type 'YYYY'
It looks like a bug in Typescript 0.8.1.1. After looking for an answer on the web, I found this discussion. Basically, the workaround is to make your imported module public by exporting them. Wait... what? Something like this:
I guess that this will be fixed in a subsequent version.