import { Command } from 'commander'; import { Answers, Question } from 'inquirer'; import { Observable } from 'rxjs'; import { Logger } from '../services/logger.service'; import { FileService } from '../services/file.service'; import { UtilService } from '../services/util.service'; export declare class AddTranslationCommand { private program; private log; private fileService; private utilService; private command; constructor(program: Command, log: Logger, fileService: FileService, utilService: UtilService); setup(): void; loadPrompt(): Observable; /** * Takes the dictionary of answers, processes each response * and saves the entries to the corresponding translation file * * { * key: 'json.key.path', * xx: 'Value for lang xx', * yy: 'Value for lang yy', * confirmation: true * } * * @param answers */ addTranslation(answers: Answers): Observable; createQuestions(): Promise; getCommand(): Command; }