import * as Latest from "./latest"; /** * The order of availability levels, from most stable to least stable. * * This is used to sort the availability levels in the UI, and to determine the stability level of a type reference when multiple are available. */ export declare const AvailabilityOrder: readonly ["Stable", "GenerallyAvailable", "Beta", "PreRelease", "InDevelopment", "Deprecated"]; /** * @param availabilities an array of availability levels * @returns the **least** stable availability level from the input array */ export declare function coalesceAvailability(availabilities: (Latest.Availability | null | undefined)[]): Latest.Availability | undefined; type AvailabilityValues = (typeof Latest.Availability)[keyof typeof Latest.Availability]; type CheckAvailabilityOrder = T[number] extends AvailabilityValues ? AvailabilityValues extends T[number] ? true : false : false; type Assert = T; export type CheckAssert = Assert>; export {}; //# sourceMappingURL=availability.d.ts.map