import{checkArg as e}from"../utilities/checkArg.js";export var PointCloudRenderer;!function(r){r.toEsriApiPointCloudRenderer=async function(r){let o;e("json",r).isNotMissing();const{type:t}=r;switch(t){case"pointCloudClassBreaksRenderer":o=(await import("@arcgis/core/renderers/PointCloudClassBreaksRenderer")).default.fromJSON(r);break;case"pointCloudRGBRenderer":o=(await import("@arcgis/core/renderers/PointCloudRGBRenderer")).default.fromJSON(r);break;case"pointCloudStretchRenderer":o=(await import("@arcgis/core/renderers/PointCloudStretchRenderer")).default.fromJSON(r);break;case"pointCloudUniqueValueRenderer":o=(await import("@arcgis/core/renderers/PointCloudUniqueValueRenderer")).default.fromJSON(r);break;default:return}return o}}(PointCloudRenderer||(PointCloudRenderer={}));