/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{__decorate as r}from"tslib";import{clone as s}from"../../../core/lang.js";import{property as t,subclass as o}from"../../../core/accessorSupport/decorators.js";import e from"./BaseFunctionArguments.js";import{writer as i}from"../../../core/accessorSupport/decorators/writer.js";var a;let p=a=class extends e{constructor(){super(...arguments),this.rasters=[],this.processAsMultiband=!0}writeRasters(r,s){s.rasters=r.map(r=>"number"==typeof r||"string"==typeof r?r:r.toJSON())}clone(){return new a({operation:this.operation,processAsMultiband:this.processAsMultiband,rasters:s(this.rasters)})}};r([t({json:{write:!0}})],p.prototype,"operation",void 0),r([t({json:{write:!0}})],p.prototype,"rasters",void 0),r([i("rasters")],p.prototype,"writeRasters",null),r([t({json:{write:!0}})],p.prototype,"processAsMultiband",void 0),p=a=r([o("esri.layers.raster.functions.LocalFunctionArguments")],p);const n=p;export{n as default};
