type def.

Defined the API using jsig.