import { type UpdateChannel } from './config.js'; export { compareVersions, getInstallTag, isNewer, parseVersion } from '@doist/cli-core/commands'; export declare function fetchLatestVersion(channel: UpdateChannel): Promise; /** * Tolerant channel read for `tw doctor`. Returns the persisted value when * valid, otherwise `'stable'`. cli-core's strict `getConfiguredUpdateChannel` * throws `INVALID_UPDATE_CHANNEL` — right behaviour for the user-facing * `tw update` command (handled by cli-core internally), wrong behaviour for * diagnostics which should surface the problem as a doctor warning rather * than crash. */ export declare function getConfiguredUpdateChannel(): Promise; //# sourceMappingURL=update.d.ts.map