/** * Update Command * Issue #1194: bundle `stop` -> `npm install -g commandmate@latest` -> `start` * into a single command for globally installed users. * * Design constraints (see Issue #1194 決定事項): * - All dependencies are imported statically at the top level (S3-011). After * step 7 npm replaces the package directory, so a dynamic import()/require() * at that point would fail with MODULE_NOT_FOUND. * - isGlobalInstall / npm execution / daemon operations are reached through * separate modules so tests can seam them with vi.mock (D-9). * - startCommand()/stopCommand() are never called: they process.exit() on every * path, which would kill this process mid-update (D-6 / S1-002). * - process.exit is only reached at the end of a branch, each followed by * `return;` (tests stub process.exit, so execution continues). * * @module commands/update */ import { type UpdateOptions } from '../types'; /** * Execute the update command. * * @param options - `--check` (report only) and `--yes` (skip confirmation) */ export declare function updateCommand(options?: UpdateOptions): Promise; //# sourceMappingURL=update.d.ts.map