import InputPrompt = require('./input'); import { Answers, NumberQuestionOptions } from '../..'; import { Interface as ReadlineInterface } from 'readline'; /** * The question for the `NumberPrompt`. */ type Question = NumberQuestionOptions; /** * Provides a prompt which allows the user to type a number as answer. * * @template TQuestion * The options for the question. */ declare class NumberPrompt extends InputPrompt { /** * Initializes a new instance of the `NumberPrompt` class. * * @param question * The question to prompt the user to answer. * * @param readLine * An object for performing read from and write to the console. * * @param answers * The answer-object. */ constructor(question: TQuestion, readLine: ReadlineInterface, answers: Answers); } export = NumberPrompt;