import type { ReadonlyMatrix } from "./matrix.js"; import type { Vector } from "./vector.js"; /** * Converts geodetic coordinates to an n-vector. * * @see https://github.com/FFI-no/n-vector/blob/82d749a67cc9f332f48c51aa969cdc277b4199f2/nvector/lat_long2n_E.m * * @param longitude - Geodetic longitude in radians. * @param latitude - Geodetic latitude in radians. * @param frame - Coordinate frame in which the n-vector is decomposed. * * @returns An n-vector. */ export declare function fromGeodeticCoordinates(longitude: number, latitude: number, frame?: ReadonlyMatrix): Vector; /** * Converts an n-vector to geodetic coordinates. * * @see https://github.com/FFI-no/n-vector/blob/82d749a67cc9f332f48c51aa969cdc277b4199f2/nvector/n_E2lat_long.m * * @param vector - An n-vector. * @param frame - Coordinate frame in which the n-vector is decomposed. * * @returns Geodetic longitude and latitude in radians. */ export declare function toGeodeticCoordinates(vector: Vector, frame?: ReadonlyMatrix): [longitude: number, latitude: number];