import type { ArrayVector4D } from "./types.js";
/**
 * Sets the magnitude of a 4D vector while maintaining its direction.
 * @param {ArrayVector4D} xyzw - Vector as `[x, y, z, w]`
 * @param {number} newMag - The new magnitude
 * @param {number} [m] - Optional current magnitude (default: `magnitude4D(xyzw)`)
 * @returns {ArrayVector4D} Vector with the new magnitude
 */
export declare const setMagnitude4D: (xyzw: ArrayVector4D, newMag: number, m?: number) => ArrayVector4D;
