import { type Matrix, type ReadonlyMatrix } from "./matrix.js"; import type { Vector } from "./vector.js"; /** * Converts a rotation matrix to an n-vector. * * @see https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/R_EL2n_E.m * @see https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/R_EN2n_E.m * * @param rotation - A rotation matrix. * * @returns An n-vector. */ export declare function fromRotationMatrix(rotation: ReadonlyMatrix): Vector; /** * Converts n-vector to a rotation matrix. * * @see https://github.com/FFI-no/n-vector/blob/82d749a67cc9f332f48c51aa969cdc277b4199f2/nvector/n_E2R_EN.m * * @param vector - An n-vector. Must have unit length. * @param frame - Coordinate frame in which the n-vector is decomposed. * * @returns A rotation matrix. */ export declare function toRotationMatrix(vector: Vector, frame?: ReadonlyMatrix): Matrix; /** * Converts an n-vector and a wander azimuth angle to a rotation matrix. * * @see https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/n_E_and_wa2R_EL.m * * @param vector - An n-vector. * @param wanderAzimuth - A wander azimuth angle in radians. * @param frame - Coordinate frame in which the n-vector is decomposed. * * @returns A rotation matrix. */ export declare function toRotationMatrixUsingWanderAzimuth(vector: Vector, wanderAzimuth: number, frame?: ReadonlyMatrix): Matrix;