import { type Ellipsoid } from "./ellipsoid.js"; import type { ReadonlyMatrix } from "./matrix.js"; import type { Vector } from "./vector.js"; /** * Converts an ECEF position vector to an n-vector and depth. * * @see https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/p_EB_E2n_EB_E.m * * @param vector - An ECEF position vector. * @param ellipsoid - A reference ellipsoid. * @param frame - Coordinate frame in which the vectors are decomposed. * * @returns Representation of position B, decomposed in E, and depth in meters * of system B relative to the ellipsoid. */ export declare function fromECEF(vector: Vector, { a, f }?: Ellipsoid, frame?: ReadonlyMatrix): [vector: Vector, depth: number]; /** * Converts an n-vector and depth to an ECEF position vector. * * @see https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/n_EB_E2p_EB_E.m * * @param vector - An n-vector. Must have unit length. * @param depth - Depth of the position in meters, relative to the ellipsoid. * @param ellipsoid - A reference ellipsoid. * @param frame - Coordinate frame in which the n-vector is decomposed. * * @returns An ECEF position vector. */ export declare function toECEF(vector: Vector, depth?: number, { b, f }?: Ellipsoid, frame?: ReadonlyMatrix): Vector;