/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{DehydratedFeatureSetParserContext as e}from"../../../rest/query/operations/pbfDehydratedFeatureSet.js";import{parsePBFFeatureQuery as r}from"../../../rest/query/operations/pbfQueryUtils.js";class t{_parseFeatureQuery(t){const s=new e(t.options),i=r(t.buffer,s),o={...i,spatialReference:i.spatialReference?.toJSON(),fields:i.fields?i.fields.map(e=>e.toJSON()):void 0,missingAttributes:s.missingAttributes};return Promise.resolve(o)}}function s(){return new t}export{s as default};
