export default PowerState; /** * * */ type PowerState = string; declare namespace PowerState { /** * Returns a PowerState enum value from a JavaScript object name. * @param {Object} obj The plain JavaScript object containing the name of the enum value. * @return {PowerState} The enum PowerState value. */ function constructFromObject(obj: any): string; /** * Validates PowerState enum value. * @param {Object} obj The plain JavaScript object containing the name of the enum value. * @return {null} Throws error for invalid value. */ function validate(obj: any): null; }