Fix and improve TypeScript declaration

Now we can use helper functions like orm.ge, orm.like, ecc in Find and sqlquery is a vaild typescript module delclaration