/** * Weekly npm registry version check (telemetry policy B+C). * * Privacy: the only network call is a standard GET to * `https://registry.npmjs.org/slaminar/latest` — the same call `npm info` * makes. No user identifier, no payload. Fail-soft everywhere so a CLI * command is never blocked by a failed version check. */ import type { UpdateInfo } from '../types/index.js'; export interface CheckOptions { force?: boolean; disabledViaFlag?: boolean; } export declare function checkForUpdate(currentVersion: string, options?: CheckOptions): Promise; export declare function formatUpdateNotice(info: UpdateInfo): string; /** * Non-blocking helper for every CLI command to invoke up front. * Swallows all errors — never prevents the real command from running. */ export declare function maybePrintUpdateNotice(currentVersion: string, options?: CheckOptions): Promise;