/** * Computes the Haversine distance between two points on a sphere of unit length 1. Multiply the result with the radius of the sphere. (For instance Earth's radius is 6371km) * * @category Metrics * @param {number[] | Float64Array} a - Point [lat1, lon1] in radians * @param {number[] | Float64Array} b - Point [lat2, lon2] in radians * @returns {number} The Haversine distance between `a` and `b`. * @see {@link https://en.wikipedia.org/wiki/Haversine_formula} */ export function haversine(a: number[] | Float64Array, b: number[] | Float64Array): number; //# sourceMappingURL=haversine.d.ts.map