import { type Ctx } from "./shared.js"; export declare const UPDATE_USAGE = "Usage: skillhook update [--install [--no-plugins]]\n\nAsks the npm registry for the newest skillhook and prints how to get it.\n --install upgrade now with the package manager that installed skillhook (npm, pnpm, bun, yarn, Volta), restart\n the background service when it is installed and has no jobs in progress, and update the skillhook\n plugin wherever Claude Code or Codex has it installed\n --no-plugins with --install, leave the Claude Code and Codex plugins alone\n\nskillhook also updates itself: at most once an hour a command asks the registry in the background (cached in\n/update-check.json) and installs a newer version the same way; the next command runs it, and the service restarts\nitself onto it once no job is running. \"auto_update\": false in skillhook.json only reports a newer version (after\ninteractive commands, in doctor and in the server log); SKILLHOOK_NO_UPDATE_CHECK=1, CI=1 or \"update_check\": false turn\nthe check off as well. SKILLHOOK_NPM_REGISTRY points it at a mirror."; export declare function updateCommand(ctx: Ctx): Promise;