import '../../globals.js';
// Copyright 2019-2022, University of Colorado Boulder
/**
 * Enumeration for the various states that can occur during an Update check. See updateCheck.js for main usage.
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 * @author Michael Kauzmann (PhET Interactive Simulations)
 */
import Enumeration from '../../phet-core/js/Enumeration.js';
import EnumerationValue from '../../phet-core/js/EnumerationValue.js';
import joist from './joist.js';
class UpdateState extends EnumerationValue {
}
// Simulation version is equal to or greater than the currently published version.
UpdateState.UP_TO_DATE = new UpdateState();
// Simulation version is less than currently published version (or equal but has a suffix)
UpdateState.OUT_OF_DATE = new UpdateState();
// Request to server sent out, has not processed reply yet.
UpdateState.CHECKING = new UpdateState();
// Last attempt to check failed, most likely offline
UpdateState.OFFLINE = new UpdateState();
// No attempt as been made to check the version against the latest online.
UpdateState.UNCHECKED = new UpdateState();
UpdateState.enumeration = new Enumeration(UpdateState, {
    phetioDocumentation: 'Describes the states that can occur during an Update check'
});
export default UpdateState;
joist.register('UpdateState', UpdateState);
//# sourceMappingURL=UpdateState.js.map