import { PROJJSONDefinition } from 'proj4/dist/lib/core.js'; /** * Provides utilities for validating EPSG codes and generating ProjJSON definitions * for UTM (Universal Transverse Mercator) zones. * * - The EPSG code base is set to `32700`, corresponding to the southern hemisphere zones. * - Valid zone numbers range from 1 to 60. * - Each zone spans 6° of longitude. */ export declare class UtmZone { /** EPSG code base for UTM zones in the southern hemisphere (32700). */ private static BaseCode; /** The first valid UTM zone number (1). */ private static FirstZone; /** The last valid UTM zone number (60). */ private static LastZone; /** The longitude width of each UTM zone, in degrees (6°). */ private static LonIncrement; /** * Determines whether the provided EPSG code corresponds * to a valid UTM zone in the southern hemisphere. * * @param code - The EPSG code to validate (e.g. 32705 for UTM Zone 5S). * @returns `true` if the code describes a valid UTM zone. Otherwise, `false`. */ static isUTMZoneCode(code: number): boolean; /** * Generates a ProjJSON definition for the given UTM zone code. * * 1. Validates the EPSG code against UTM zone rules. * 2. Calculates the natural origin longitude and bounding box. * 3. Clones the ProjJSON template and overwrites various fields * with values specific to the requested UTM zone. * * @param code - The EPSG code for the UTM zone (e.g. 32705 for UTM Zone 5S). * @returns A ProjJSON definition describing the UTM zone. * * @throws {Error} If the code does not correspond to a valid UTM zone. */ static generateProjJson(code: number): PROJJSONDefinition; }