import SpatialReference from "@arcgis/core/geometry/SpatialReference";
/**
 * WKID aliases for Web Mercator.
 */
export declare const webMercatorAliases: number[];
/**
 * OGC related namespace declarations.
 */
export declare enum OgcNamespace {
    FES = "http://www.opengis.net/fes",
    FES_2_0 = "http://www.opengis.net/fes/2.0",
    GML = "http://www.opengis.net/gml",
    GML_3_2 = "http://www.opengis.net/gml/3.2",
    GML_3_3_CE = "http://www.opengis.net/gml/3.3/ce",
    OGC = "http://www.opengis.net/ogc",
    OWS = "http://www.opengis.net/ows",
    OWS_1_1 = "http://www.opengis.net/ows/1.1",
    OWS_2_0 = "http://www.opengis.net/ows/2.0",
    WFS = "http://www.opengis.net/wfs",
    WFS_2_0 = "http://www.opengis.net/wfs/2.0",
    XML = "http://www.w3.org/XML/1998/namespace",
    XS = "http://www.w3.org/2001/XMLSchema",
    XLINK = "http://www.w3.org/1999/xlink"
}
/**
 * GML versions.
 */
export type GmlVersion = "2.0" | "3.0" | "3.1" | "3.2" | "3.3";
/**
 * WFS versions.
 */
export type WfsVersion = "1.0.0" | "1.1.0" | "2.0.0";
/**
 * Gets the appropriate GML namespace.
 *
 * @param gmlVersion The GML version.
 */
export declare function getGmlNS(gmlVersion: string): OgcNamespace;
/**
 * Infer a GML version based on the given WFS version.
 *
 * @param wfsVersion The WFS version.
 */
export declare function inferGmlVersion(wfsVersion: string): GmlVersion;
/**
 * Checks if the specified namespace is a known GML namespace.
 *
 * @param ns The namespace to check.
 */
export declare function isGmlNamespace(ns: string | undefined | null): boolean;
/**
 * Naively converts an EPSG OGC spatial reference to an Esri spatial reference.
 *
 * @param ogcSrs The OGC spatial reference to be converted.
 */
export declare function ogcSrsToEsriSr(ogcSrs: string): SpatialReference;
/**
 * Parses the given OGC spatial reference and returns the EPSG code.
 *
 * @param ogcSrs The OGC spatial reference to parse.
 */
export declare function getEpsgCode(ogcSrs: string): number;
