import type { BBox } from './bbox'; /** * Converts lat lon array to lon lat array * * @param {number[]} array [lat, lon] array to convert * @return {number[]} [lon, lat] array */ export declare function latLonToLonLat(array: number[]): number[]; /** * Checks if BBox is valid * * @param {(BBox | number[])} bbox BBox to check * @return {void} */ export declare function checkBBox(bbox: BBox | number[]): void; export type Coord = [number, number]; export interface Corners { sw: Coord; nw: Coord; ne: Coord; se: Coord; } /** * Gets corners from a bbox * * @param {BBox} bbox BBox to get corners of * @return {Corners} The corners as [lat, lon] coordinates */ export declare function BBoxToCorners(bbox: BBox): Corners; /** * Returns corners in a lon, lat order * * @param {Corners} corners * @return {Corners} */ export declare function enforceLonLatCorners(corners: Corners): Corners; /** * Checks if number is between a min and max * * @param {number} toCheck * @param {number} min * @param {number} max * @return {boolean} */ export declare function isBetween(toCheck: number, min: number, max: number): boolean; /** * Gets an array of unique values * * @template T * @param {T[]} array Array to find uniques of * @return {T[]} The unique values */ export declare function uniq(array: T[]): T[];