export default State; /** * * */ type State = string; declare namespace State { /** * Returns a State enum value from a JavaScript object name. * @param {Object} obj The plain JavaScript object containing the name of the enum value. * @return {State} The enum State value. */ function constructFromObject(obj: any): string; /** * Validates State 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; }