import { API } from "../contract/api" ; export function available < T > ( api ) { return { available : true , api : api } ; } export const versionUnknown = { available : false , reason : "version-unknown" } ; export const versionRemoved = { available : false , reason : "version-removed" } ;