/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as t}from"tslib";import{JSONSupport as r}from"../../core/JSONSupport.js";import{property as o}from"../../core/accessorSupport/decorators/property.js";import{subclass as e}from"../../core/accessorSupport/decorators/subclass.js";import{apiKey as s}from"./commonProperties.js";import p from"./TranslateContent.js";let i=class extends r{constructor(t){super(t),this.to=null,this.contents=null,this.portalUrl="https://www.arcgis.com",this.translator="esri",this.from=null,this.apiKey=null,this.requestSource=null}};t([o({type:[String],json:{write:!0}})],i.prototype,"to",void 0),t([o({type:[p],json:{write:!0}})],i.prototype,"contents",void 0),t([o({type:String,json:{write:!0}})],i.prototype,"portalUrl",void 0),t([o({type:String,json:{write:!0,default:"esri"}})],i.prototype,"translator",void 0),t([o({type:String,json:{write:!0}})],i.prototype,"from",void 0),t([o(s)],i.prototype,"apiKey",void 0),t([o({type:String,json:{name:"x-esri-request-source"}})],i.prototype,"requestSource",void 0),i=t([e("esri.rest.support.TranslateParameters")],i);export{i as default};
