/** * What version npm would serve right now, or null if we could not ask. * * Deliberately quiet about failures: this runs on a path where being offline, * behind a proxy, or on a flaky connection is ordinary, and none of that is * worth an error. A missed check is not a problem; a server that refuses to * start because a version check failed would be. */ export declare function latestPublished(timeoutMs?: number): Promise; /** Numeric compare, so 0.9.10 sorts above 0.9.9. */ export declare function isNewer(candidate: string, current: string): boolean; /** * Tell the user, on stderr, when they are running something old. * * Fire-and-forget from `main`: the server is already listening by the time * this resolves, so a slow registry delays nothing. stdout carries the MCP * protocol and must stay clean. */ export declare function noticeIfOutdated(current: string): void; /** * `npx @stratta/mcp update`. * * npx caches a resolved package and reuses it, so `npx -y @stratta/mcp` can * keep launching a version that npm replaced weeks ago — the user has no way * to tell, and nothing tells them. This says which version is running, which * one is published, and clears the cache entry so the next launch fetches the * new one. */ export declare function runUpdate(current: string): Promise;