/* * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import { ParseResults } from "../latlon/internal/parse.js"; //#region src/coordinates/utm/parser.d.ts /** * Parses UTM (Universal Transverse Mercator) coordinate string into lat/lon format. * * Accepts UTM coordinates in format "ZZ N|S EEEEE NNNNN" where ZZ is zone (1-60), * N|S is hemisphere, EEEEE is easting, and NNNNN is northing. Converts to * latitude/longitude using the geodesy library. * * @param _format - Unused format parameter (kept for interface compatibility). * @param input - UTM coordinate string to parse. * @returns ParseResults with lat/lon tokens or error messages. * * @example * ```typescript * parseUTM(null, '18N 585628 4511644'); * // [['40.7128', '/', '-74.0060'], []] * ``` * * @example * ```typescript * parseUTM(null, '65N 585628 4511644'); * // [[], ['[ERROR] Invalid Zone number (65) found; expected format ZZ N|S DDD DDD.']] * ``` */ declare function parseUTM(_format: any, input: string): ParseResults; //#endregion export { parseUTM }; //# sourceMappingURL=parser.d.ts.map