import { DistinctQuestion } from "inquirer"; import type { ConfigNote } from "../plugins"; import type { ToolArgv } from "../types/toolArgv"; import type { ArgvOpts, HandleGeneralPromptsCallback } from "../types/toolOpts"; import type { HermioneConfig, Language } from "../types"; export declare const optsFromArgv: (argv: ToolArgv) => ArgvOpts; export declare const packageNameFromPlugin: (plugin: string) => string; export declare const askQuestion: (question: DistinctQuestion>) => Promise; export declare const baseGeneralPromptsHandler: HandleGeneralPromptsCallback; export declare const printSuccessMessage: (configNotes: ConfigNote[]) => void; export declare const writeTestExample: (dirPath: string, ext: Language) => Promise; type VariableOpts = { name: string; value: string; isExpr?: boolean; }; export declare const defineVariable: (config: HermioneConfig, { name, value, isExpr }: VariableOpts) => HermioneConfig; export declare const addModule: (config: HermioneConfig, variableName: string, moduleName?: string) => HermioneConfig; export declare const asExpression: (value: string) => string; export declare const extendWithTypescript: (packageNamesToInstall: string[], appPath: string) => Promise; export {};