type RunLogger = { log: (message: string) => void; warn: (message: string) => void; error: (message: string) => void; }; type PromptChoice = { value: string; title: string; description?: string; }; type PromptApi = { select: (params: { message: string; choices: PromptChoice[]; }) => Promise; confirm: (params: { message: string; defaultValue?: boolean; }) => Promise; input: (params: { message: string; defaultValue?: string; }) => Promise; close?: () => Promise | void; }; type RunOptions = { cwd?: string; templateRoot?: string; logger?: RunLogger; prompt?: PromptApi; }; declare function runCli(argv: string[], options?: RunOptions): Promise; export { type PromptApi, type RunLogger, runCli };