import { BaseTranslator, TranslatorOptions } from '../BaseTranslator'; import { langCode, langCodeWithAuto } from '../Translator'; export type DeepLTranslatorOptions = { apiKey: string; }; export declare class DeepLTranslator extends BaseTranslator { static readonly translatorName = "DeepLTranslator"; static isRequiredKey: () => boolean; static isSupportedAutoFrom: () => boolean; static getSupportedLanguages(): langCode[]; private readonly apiHost; constructor(options: TranslatorOptions); getLengthLimit(): number; getRequestsTimeout(): number; checkLimitExceeding(text: string | string[]): number; translate(text: string, from: langCodeWithAuto, to: langCode): Promise; translateBatch(text: string[], from: langCodeWithAuto, to: langCode): Promise; }