/** * Latest version already sitting in the on-disk cache. No network. Undefined * when the check is disabled or nothing has been fetched yet — the header * then simply omits the outdated-CLI issue rather than guessing. */ export declare function cachedLatestVersion(): string | undefined; /** * Refresh the registry cache at most once per 24h. Returns the latest version * we now know about, so a caller that is about to render setup issues (the * palette) can put an outdated CLI in that list instead of printing a footer * after the fact. * * Stays silent on non-TTY stderr (scripts/CI), when disabled via * `CARGO_NO_UPDATE_NOTIFIER`, and on any network/parse failure — it must * never block, delay, or break the command that triggered it. */ export declare function maybeRefreshUpdateCache(): Promise; //# sourceMappingURL=updateNotifier.d.ts.map