/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as o}from"tslib";import r from"../../Color.js";import{JSONSupport as t}from"../../core/JSONSupport.js";import{property as e,subclass as s}from"../../core/accessorSupport/decorators.js";import{Integer as p}from"../../core/accessorSupport/ensureType.js";var i;let l=i=class extends t{constructor(o){super(o),this.color=null,this.ratio=null}clone(){return new i({color:this.color&&this.color.clone(),ratio:this.ratio})}};o([e({type:r,json:{type:[p],default:null,write:{isRequired:!0}}})],l.prototype,"color",void 0),o([e({type:Number,json:{write:{isRequired:!0}}})],l.prototype,"ratio",void 0),l=i=o([s("esri.renderers.support.HeatmapColorStop")],l);export{l as default};
