/** * commonalities with all types of FDSN Web Services */ export declare const IRIS_HOST = "service.iris.edu"; export declare const EARTHSCOPE_HOST = "service.earthscope.org"; export declare const FDSNWS_PATH_BASE = "fdsnws"; export declare const IRISWS_PATH_BASE = "irisws"; export declare const LOCALWS_PATH_BASE = "localws"; export declare class FDSNCommon { /** @private */ _specVersion: string; /** @private */ _protocol: string; /** @private */ _host: string; /** @private */ _path_base: string; /** @private */ _service: string; /** @private */ _port: number; /** @private */ _nodata: number | undefined; /** @private */ _timeoutSec: number; constructor(service: string, host?: string); defaultPortStringForProtocol(protocol: string): string; } export declare function defaultPortStringForProtocol(protocol: string, port: number): string; /** * Appends a path segment to a base URL, checking that there is one, * and only one, slash between the two. * @param baseUrl base url, possibly ending in a slash * @param addPath path to add, possibly starting with a slash * @return merged path, with exactly one slash between */ export declare function appendToPath(baseUrl: string, addPath: string): string; export declare class LatLonRegion { } export declare class LatLonBox extends LatLonRegion { west: number; east: number; south: number; north: number; constructor(west: number, east: number, south: number, north: number); asLeafletBounds(): [[number, number], [number, number]]; } export declare class LatLonRadius extends LatLonRegion { latitude: number; longitude: number; minRadius: number; maxRadius: number; constructor(latitude: number, longitude: number, minRadius: number, maxRadius: number); } //# sourceMappingURL=fdsncommon.d.mts.map