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