/** * Checks local and global Promptbook CLI installations before an interactive coder run and offers to update them. * * Once an update succeeds, the caller must stop the current run and let the user start a fresh process. A local npm * update can modify `package.json` and a lockfile, which would make the coder's clean-working-tree preflight fail; * the current Node.js process has also already loaded the old CLI implementation. * * Note: `$` is used to indicate that this function is not a pure function - it reads package manifests, queries npm, * asks the user, and may install npm packages * * @returns `true` when at least one installation was updated and the current coder run should stop * @private internal utility of `promptbookCli` */ export declare function $ensurePromptbookCliInstallations(): Promise;