import SourceBase from '../../bases/source'; import { IDataSource } from '../../types'; import { WFSLayer } from './wfs'; import { WMSLayer } from './wms'; import { WMSOptions } from 'leaflet'; export interface IOWSSourceoptions { wfs?: boolean | string; wms?: boolean | string; } export interface IOWSLayeroptions { layers?: string; maxZoom?: number; minZoom?: number; wms?: WMSOptions & Record; [index: string]: any; } export declare class OWSSource extends SourceBase implements IDataSource { readonly baseUrl: string; protected options: { wms: string; wfs: string; }; private parsedCapabilities; private fetchingCapabilitiesPromise; private layerNames; private instantiatedLayers; private wmsLayers; private wfsLayers; constructor(baseUrl: string, options?: IOWSSourceoptions); getLayerNames(): Promise; getLayer(name: string, options?: IOWSLayeroptions): Promise; getCombinedLayer(names: string[], options?: IOWSLayeroptions): Promise; protected createWMSLayer(wmsNode: Node, wfsNode?: Node, options?: IOWSLayeroptions): WMSLayer; protected createWFSLayer(wfsNode: Node): WFSLayer; private parseBaseUrl; private fetchCapabilities; private parseWMSCapabilities; private parseWMSLayer; private parseWFSCapabilities; private parseWFSLayer; private isException; }