UNPKG

699 BTypeScriptView Raw
1import inquirer from 'inquirer';
2import { Tags, Answers } from './types';
3export declare function getQuestions(possibleTargets: Record<Tags, boolean>): inquirer.QuestionCollection;
4export declare function getApplicationTypeChoices(possibleTargets: Record<Tags, boolean>): {
5 name: string;
6 key: string;
7 value: Tags[];
8 checked: boolean;
9}[];
10export declare function getPluginChoices(answers: Answers): inquirer.DistinctChoice<inquirer.AllChoiceMap<inquirer.Answers>, inquirer.AllChoiceMap<inquirer.AllChoiceMap<inquirer.Answers>>>[];
11export declare function getOutputDefaultValue(answers: Answers): "src/generated/graphql.tsx" | "src/generated/graphql.ts" | "src/generated/graphql.js";