export declare const UPDATE_COMMAND = "npm i -g @cloudcruise/cli@latest"; export declare const PLUGIN_NOTE = "Using the CloudCruise plugin in your coding agent? Update it there too."; export interface UpdateNotifierLike { update?: { current: string; latest: string; }; notify(): void; } export interface StderrLike { isTTY?: boolean; write(chunk: string): unknown; } export interface UpdateCheckIo { stdout: { isTTY?: boolean; }; stderr: StderrLike; } /** * Run update-notifier's check and surface an available CLI update. With stdout * on a TTY, update-notifier's box. Otherwise (a coding agent, or piped output), * one JSON line on stderr; stdout stays clean. */ export declare function checkForUpdate(createNotifier: () => UpdateNotifierLike, io: UpdateCheckIo): void;