import type { Translator } from "./types"; /** * @see Translator implementation that uses the DeepL API. * This API requires an API key which must be stored in the * environment variable DEEPL_API_KEY. */ export declare class DeeplTranslator implements Translator { private translator; init(): Promise; /** * Maps ioBroker language codes to DeepL language codes */ private mapLanguageCode; translate(text: string, targetLang: string): Promise; }