import{checkArg as t}from"../utilities/checkArg.js";export var UtilityNetwork;!function(i){i.toEsriApiUtilityNetwork=async function(i){t("utilityNetworks",i).isNotMissing();const r=new(0,(await import("@arcgis/core/networks/UtilityNetwork")).default);return await r.read(i,{origin:"web-map"}),r},i.fromEsriApiUtilityNetwork=function(i){return t("utilityNetworks",i).isNotMissing(),i.toJSON()}}(UtilityNetwork||(UtilityNetwork={}));