define(["require","exports","tslib","../../Validation","./tools","esri/tasks/GeometryService"],function(e,i,t,a,o,r){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),r=t.__importDefault(r);n.prototype.execute=function(e,i){var t=a.validation.string("url",e.url,a.validation.never),n=a.validation.array("geometry",e.geometry,a.validation.never),e=new r.default(t),t=o.isAbortable(i.cancellationToken)?{signal:i.cancellationToken.signal}:void 0,t=e.labelPoints(n,t);return o.schedulePromiseCancellation(i,t),o.inline(t,function(e){return{points:e}})},n.action="gcx:wf:arcgis::LabelPointsServiceTask",n.suite="gcx:wf:builtin",t=n;function n(){}i.LabelPointsServiceTask=t});