@awesome-fe/translate
Version:
Translation utils
9 lines (8 loc) • 447 B
TypeScript
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[]>;
}