import { type Ellipsoid } from "./ellipsoid.js"; import type { ReadonlyMatrix } from "./matrix.js"; import type { Vector } from "./vector.js"; /** * Delta finds a delta ECEF position vector from a reference n-vector position, * and a target n-vector position. * * @see https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/n_EA_E_and_n_EB_E2p_AB_E.m * * @param from - An n-vector of position A. * @param to - An n-vector of position B. * @param fromDepth - Depth of position A in meters, relative to the ellipsoid. * @param toDepth - Depth of position B in meters, relative to the ellipsoid. * @param ellipsoid - A reference ellipsoid. * @param frame - Coordinate frame in which the vectors are decomposed. * * @returns Position vector in meters from A to B, decomposed in E. */ export declare function delta(from: Vector, to: Vector, fromDepth?: number, toDepth?: number, ellipsoid?: Ellipsoid, frame?: ReadonlyMatrix): Vector; /** * From position A and delta, finds position B. * * @see https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/n_EA_E_and_p_AB_E2n_EB_E.m * * @param from - An n-vector of position A. * @param delta - ECEF position vector in meters from A to B. * @param fromDepth - Depth of position A in meters, relative to the ellipsoid. * @param ellipsoid - A reference ellipsoid. * @param frame - Coordinate frame in which the vectors are decomposed. * * @returns An n-vector of position B, and depth of position B in meters, * relative to the ellipsoid. */ export declare function destination(from: Vector, [dx, dy, dz]: Vector, fromDepth?: number, ellipsoid?: Ellipsoid, frame?: ReadonlyMatrix): [to: Vector, toDepth: number];