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