/** * `memi upgrade` — self-update the standalone binary. * * Only meaningful when running the prebuilt binary (not the npm install, which * upgrades via `npm i -g @memi-design/cli`). Detects the current platform, * downloads the latest release archive from GitHub, verifies SHA256, and * swaps the binary + sidecar assets atomically. */ import type { Command } from "commander"; import type { MemoireEngine } from "../engine/core.js"; export declare function checksumUrlsForArchive(base: string, archiveName: string): string[]; export declare function verifyArchiveChecksum(options: { archiveName: string; archivePath: string; sumsPath: string; allowUnverified?: boolean; }): Promise<"verified" | "unverified-allowed">; export declare function registerUpgradeCommand(program: Command, _engine: MemoireEngine): void;