import { Readable, Writable } from "node:stream"; //#region src/cli/interactivePrompt.d.ts interface Prompt { choice(message: string, choices: readonly string[], defaultChoice?: string): Promise; confirm(message: string, defaultYes?: boolean): Promise; text(message: string, defaultValue?: string): Promise; waitForEnter(message: string): Promise; } //#endregion //#region src/cli/index.d.ts interface CliContextOptions { cwd?: string; env?: Record; fetch?: typeof fetch; homeDir?: string; openBrowser?: (url: string) => Promise | void; platform?: NodeJS.Platform; prompt?: Prompt; stderr?: Writable; stdin?: Readable; stdout?: Writable; } declare function runCli(argv?: string[], options?: CliContextOptions): Promise; //#endregion export { CliContextOptions, runCli };