import { Layer } from 'ol/layer' ; import { Source } from 'ol/source' ; import { CapabilitiesResponseWrapper } from './capabilities-response-wrapper' ; export interface IGetCapabilities { getPathFromUrl ( str ) : string ; params2String ( obj ) : string ; request ( service_url ) : Promise < CapabilitiesResponseWrapper > ; service2layers ? ( caps , path ? ) : Layer < Source > [ ] ; }