/* * 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 { Format } from "../index.js"; import { Tokens } from "../lexer.js"; //#region src/coordinates/latlon/internal/pipes/check-ambiguous.d.ts /** * Look for groupings of numbers that are ambiguous; no indicators, or no * dividers and not possibility of deducing where a divider should be inserted. * * @param tokens - Array of parsed coordinate tokens. * @param _format - Optional coordinate format (LATLON or LONLAT), currently unused. * @returns Pipe result with tokens and error status (true if ambiguous, false otherwise). * * @example * ```typescript * checkAmbiguousGrouping(['45', '30', '15', 'N'], 'LATLON'); * // Returns tokens with error=true if grouping is ambiguous * ``` * * @example * ```typescript * checkAmbiguousGrouping(['45', '30', 'N', '/', '122', '15', 'W'], 'LATLON'); * // Returns tokens with error=false (divider present, not ambiguous) * ``` */ declare function checkAmbiguousGrouping(tokens: Tokens, _format?: Format): [string[], string | boolean]; //#endregion export { checkAmbiguousGrouping }; //# sourceMappingURL=check-ambiguous.d.ts.map