export type UpdateChannel = 'stable' | 'beta' | 'dev'; export declare const DEFAULT_PACKAGE_CHANNEL: UpdateChannel; export declare const DEFAULT_GIT_CHANNEL: UpdateChannel; /** * Map update channel to the npm dist-tag used for querying registry. * stable → latest, beta → beta, dev → dev */ export declare function channelToNpmTag(channel: UpdateChannel): string; /** Normalize a user-provided string to a valid UpdateChannel, or null. */ export declare function normalizeUpdateChannel(value?: string | null): UpdateChannel | null; /** Return true if a version/tag string contains a beta prerelease identifier. */ export declare function isBetaVersion(version: string): boolean; /** Return true if a version string is a stable release (no beta marker in this heuristic). */ export declare function isStableVersion(version: string): boolean;