Initial commit of Firebase API type definitions

In response to Issue #463.