/** Exit code and captured output of one Bun package-manager invocation. */ export interface BunCliResult { readonly exitCode: number; readonly stdout: string; readonly stderr: string; } /** * Runs Bun's CLI (`bun `) in `cwd` for plugin install/update/uninstall. * * Re-enters the running executable with `BUN_BE_BUN=1` instead of resolving * `bun` from `$PATH`: source and bundle installs already run under Bun, and the * standalone `omp` binary embeds Bun, so plugin installs never require a * separately installed Bun (#15480). Same mechanism as * `eval/js/package-installer.ts` and `@oh-my-pi/pi-utils` runtime installs. */ export declare function runBunCli(args: readonly string[], cwd: string): Promise;