import { Context } from "@inquirer/type"; import { PromptConfig } from "../types/PromptConfig"; type InputValue = string | number; type ValueType = T extends "string" | "text" | "password" ? string : T extends "int" | "number" ? number : string; type PromptFn = , C extends Config = Config>(config: C, context?: Context) => Promise & { cancel: () => void; }; type Config = PromptConfig; export declare const promptInput: PromptFn; export { Config as PromptInputConfig };