/** * Returns the installed version of the CLI package (`martin-loop`). * Call site: CLI only. Never call from MCP. */ export declare function getCliInstalledVersion(): string | null; /** * Returns the installed version of the MCP package (`@martinloop/mcp`). * Call site: MCP only. Never call from CLI. */ export declare function getMcpInstalledVersion(): string | null; /** * Compare two semver strings. Returns true when `available` is strictly * newer than `current`. * * Prereleases are never surfaced as updates unless the user's current * version is itself a prerelease (semver prerelease protection). * Build metadata (+build) does not affect precedence. */ export declare function isNewerVersion(current: string, available: string): boolean;