Are those interfaces really considered private? If so then why some public functions use them as return and/or input types? For now I need to use "any" or redefine the interfaces in my own code, which doesn't seem right.