export type DoctorRegistryStatus = "available" | "malformed" | "timeout" | "unavailable"; export type DoctorRegistryDeprecation = "none observed" | "present" | "unavailable"; export type DoctorRegistryChannelState = "DRIFT" | "MATCH" | "RETIRED" | "UNAVAILABLE"; export type DoctorRegistryResponse = { readonly status: "available"; readonly text: string; } | { readonly status: Exclude; }; export type DoctorRegistryInput = { readonly deprecation: DoctorRegistryResponse; readonly distTags: DoctorRegistryResponse; readonly installedVersion: unknown; }; export type DoctorRegistrySummary = { readonly channelStates: { readonly latest: DoctorRegistryChannelState; readonly legacy: DoctorRegistryChannelState; readonly next: DoctorRegistryChannelState; readonly staging: DoctorRegistryChannelState; }; readonly channels: { readonly installed: string; readonly latest: string; readonly legacy: string; readonly next: string; readonly staging: string; }; readonly deprecation: DoctorRegistryDeprecation; readonly diagnostics: readonly string[]; readonly status: DoctorRegistryStatus; readonly text: string; }; export declare function isDoctorRegistryVersion(value: unknown): value is string; export declare function readDoctorRegistry(input: DoctorRegistryInput): DoctorRegistrySummary;