UNPKG

@kba-tools/genesis-tool

Version:

A forked repo from ConsenSys which helps to generate genesis block for Besu Network with xemptyBlockPeriod field.

14 lines 884 B
import { QuestionTree, AnswerMap } from "./types/questions"; import { ReadLine } from "readline"; export declare class QuestionRenderer { private _questions; private _forceDefaults; constructor(questions: QuestionTree, forceDefaults?: boolean); render(): Promise<AnswerMap>; _handleOptionsQuestion(rl: ReadLine, question: QuestionTree, answers: AnswerMap): Promise<QuestionTree | undefined>; _handleTransformerQuestion(rl: ReadLine, question: QuestionTree, answers: AnswerMap): Promise<QuestionTree | undefined>; _handleTransformerAnswer(question: QuestionTree, rawInput: any, // eslint-disable-line @typescript-eslint/explicit-module-boundary-types answers: AnswerMap, fallbackQuestion?: QuestionTree): Promise<QuestionTree | undefined>; _askQuestion(rl: ReadLine, prompt: string): Promise<string>; } //# sourceMappingURL=questionRenderer.d.ts.map