I have a function that takes 2 objects and returns a copy of both objects merged. I would like to write a declaration file for it but I cannot figure out how to do so.