UNPKG

@kba-tools/genesis-tool

Version:

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

7 lines 1.02 kB
import { QuestionTree, AnswerMap } from "../types/questions"; export declare function getYesNoValidator(question: QuestionTree, nextQuestion?: QuestionTree, defaultResponse?: "y" | "n"): (rawInput: string, answers: AnswerMap) => QuestionTree | undefined; export declare function integerValidator(question: QuestionTree, nextQuestion?: QuestionTree, defaultResponse?: number): (rawInput: string, answers: AnswerMap) => QuestionTree | undefined; export declare function stringValidator(question: QuestionTree, nextQuestion?: QuestionTree, defaultResponse?: string): (rawInput: string, answers: AnswerMap) => QuestionTree | undefined; export declare function passwordValidator(question: QuestionTree, nextQuestion?: QuestionTree): (rawInput: string, answers: AnswerMap) => QuestionTree | undefined; export declare function allocStringValidator(question: QuestionTree, nextQuestion?: QuestionTree, defaultResponse?: string): (rawInput: string, answers: AnswerMap) => QuestionTree | undefined; //# sourceMappingURL=common.d.ts.map