export default WMSGetFeatureInfo; export type Options = { /** * If set, only features of the given layers will be returned by the format when read. */ layers?: Array; }; /** * @classdesc * Format for reading WMSGetFeatureInfo format. It uses * {@link module:ol/format/GML2~GML2} to read features. * * @api */ declare class WMSGetFeatureInfo extends XMLFeature { /** * @param {Options} [opt_options] Options. */ constructor(opt_options?: Options); /** * @private * @type {string} */ private featureNS_; /** * @private * @type {GML2} */ private gmlFormat_; /** * @private * @type {Array} */ private layers_; /** * @return {Array} layers */ getLayers(): Array; /** * @param {Array} layers Layers to parse. */ setLayers(layers: Array): void; /** * @param {any} node Node. * @param {Array<*>} objectStack Object stack. * @return {Array} Features. * @private */ private readFeatures_; } import XMLFeature from "./XMLFeature.js";