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