define(["require","exports","tslib","../../Validation","./MapProvider","../../Hooks","./tools"],function(e,i,t,r,a,n,l){"use strict";Object.defineProperty(i,"__esModule",{value:!0});o.prototype.execute=function(e,i,t){var a=r.validation.id("tableId",e.tableId,r.validation.never),e=r.validation.id("mapServiceId",e.mapServiceId),n=e?e.toString():void 0,o=t.create();return l.inline(o.load(),function(){var e=o.findTable(a.toString(),n);return null!=e?l.inline(e.load(),function(){return{table:e.layer}}):{table:void 0}})},o.action="gcx:wf:arcgis::GetTable",o.suite="gcx:wf:builtin",a=t.__decorate([n.activate(a.MapProvider)],o);function o(){}i.GetTable=a});