import e from"@arcgis/core/geometry/SpatialReference";import{checkArg as i}from"../utilities/checkArg.js";export var SpatialReference;!function(r){r.toEsriApiSpatialReference=function(r){return i("json",r).isNotMissing(),e.fromJSON(r)},r.fromEsriApiSpatialReference=function(e){return i("spatialReference",e).isNotMissing(),e.toJSON()}}(SpatialReference||(SpatialReference={}));