Added functions declaraions to lib.d.ts for the tests