import { Group , Layer } from 'ol/layer' ; import { Source } from 'ol/source' ; import { CapabilitiesResponseWrapper } from '../../../../common/get-capabilities/capabilities-response-wrapper' ; import { addLayerOptions } from '../types/layer-options.type' ; import { addLayersRecursivelyOptions } from '../types/recursive-options.type' ; import { urlDataObject } from '../types/data-object.type' ; export interface HsUrlTypeServiceModel { data : urlDataObject ; addLayerFromCapabilities ( wrapper , sld ? ) : Promise < Layer < Source > [ ] > ; addLayers ( checkedOnly , style ? ) : Layer < Source > [ ] ; addLayer ( layer , options ) : Layer < Source > ; addLayersRecursively ( layer , options , collection ) : void ; addService ? ( url , group , layerName ? , addUnder ? , path ? ) : Promise < void > ; setDataToDefault ( ) : void ; }