Interface for translating text via an external source
Translates text using a specified translation type
The type of translation to apply (e.g., 'yoda', 'shakespeare')
The text to translate
A promise resolving to a Result containing either the translated text or an Error
Interface for translating text via an external source