import { Namespace } from 'argparse'; import { FuzzyPathQuestionOptions } from 'inquirer-fuzzy-path'; declare module 'inquirer' { interface QuestionMap { fuzzypath: FuzzyPathQuestionOptions; } } export type ActionChoiceType = { [key: string]: { name: string; callback: (args: Namespace) => Promise | void; namespace: typeof Namespace; }; };