UNPKG

@awesome-fe/translate

Version:
9 lines (8 loc) 447 B
import { TranslationEngine } from './translation-engine'; import { TranslationEngineOptions } from './translation-engine-options'; import { SentenceFormat } from '../translator/sentence-format'; export declare class GoogleCloudTranslationEngine extends TranslationEngine { private readonly options; constructor(options: TranslationEngineOptions); protected batchTranslate(texts: string[], format: SentenceFormat): Promise<string[]>; }