import { TranslationService, TranslationResult } from '.'; import { Matcher } from '../matchers'; export declare class DeepLFree implements TranslationService { name: string; private apiKey; /** * Number to tokens to translate at once */ private batchSize; private supportedLanguages; private interpolationMatcher; private decodeEscapes; private formality; initialize(config?: string, interpolationMatcher?: Matcher, decodeEscapes?: boolean): Promise; fetchLanguages(): Promise>; supportsLanguage(language: string): boolean; translateStrings(strings: { key: string; value: string; }[], from: string, to: string): Promise; runTranslation(strings: { key: string; value: string; }[], from: string, to: string, triesLeft?: number): Promise; }