UNPKG

462 BTypeScriptView Raw
1import type { InputCustomOptions } from 'inquirer';
2import type { InputSetting, RuleEntry, Result, ResultPart } from './types';
3/**
4 * Get a cli prompt based on rule configuration
5 * @param type type of the data to gather
6 * @param rules
7 * @param settings
8 * @return prompt instance
9 */
10export default function getPrompt(type: ResultPart, rules?: RuleEntry[], settings?: InputSetting): InputCustomOptions<Result> | null;
11//# sourceMappingURL=get-prompt.d.ts.map
\No newline at end of file