type CliRunResult = { exitCode: number; stdout: string; stderr: string; }; /** Run CLI with argv; capture stdout/stderr and exit code (browser-safe — no commander/process.exit). */ declare function runCaptured(argv: string[]): CliRunResult; export { type CliRunResult, runCaptured };