/**
 * Represents a 4D vector with various operations.
 */
export declare class Vec4 {
    #private;
    /**
     * Creates a new Vec4 instance.
     * @param x - The x-coordinate of the vector.
     * @param y - The y-coordinate of the vector.
     * @param z - The z-coordinate of the vector.
     * @param w - The w-coordinate of the vector.
     */
    constructor(x?: number, y?: number, z?: number, w?: number);
    /**
     * Adds two vectors.
     * @param v - The first vector.
     * @param w - The second vector.
     * @returns A new Vec3 instance representing the sum.
     */
    static add(v: Vec4, w: Vec4): Vec4;
    /**
     * Subtracts one vector from another.
     * @param v - The vector to subtract from.
     * @param w - The vector to subtract.
     * @returns A new Vec2 instance representing the difference.
     */
    static subtract(v: Vec4, w: Vec4): Vec4;
    /**
     * Multiplies one vector with another.
     * @param v - The first vector.
     * @param w - The second vector.
     * @returns A new Vec4 instance representing the multiplied value.
     */
    static multiply(v: Vec4, w: Vec4): Vec4;
    /**
     * Divides one vector with another.
     * @param v - Divident.
     * @param w - Divisor.
     * @returns A new Vec4 instance representing the divided value.
     */
    static divide(v: Vec4, w: Vec4): Vec4;
    /**
     * Calculates the angle between two vectors.
     * @param v - The first vector.
     * @param w - The second vector.
     * @returns The angle between the vectors in radians.
     */
    static angleBetween(v: Vec4, w: Vec4): number;
    /**
     * Calculates the Euclidean distance between two vectors.
     * @param v - The first vector.
     * @param w - The second vector.
     * @returns The distance between the vectors.
     */
    static distance(v: Vec4, w: Vec4): number;
    /**
     * Calculates the Chebyshev distance between two vectors.
     * @param v - The first vector.
     * @param w - The second vector.
     * @returns The Chebyshev distance between the vectors.
     */
    static distanceChebyshev(v: Vec4, w: Vec4): number;
    /**
     * Calculates the Manhattan distance between two vectors.
     * @param v - The first vector.
     * @param w - The second vector.
     * @returns The Manhattan distance between the vectors.
     */
    static distanceManhattan(v: Vec4, w: Vec4): number;
    /**
     * Calculates the Minkowski distance between two vectors.
     * @param v - The first vector.
     * @param w - The second vector.
     * @param p - The order of the Minkowski distance.
     * @returns The Minkowski distance between the vectors.
     */
    static distanceMinkowski(v: Vec4, w: Vec4, p: number): number;
    /**
     * Calculates the squared Euclidean distance between two vectors.
     * @param v - The first vector.
     * @param w - The second vector.
     * @returns The squared distance between the vectors.
     */
    static distanceSq(v: Vec4, w: Vec4): number;
    /**
     * Calculates the dot product of two vectors.
     * @param v - The first vector.
     * @param w - The second vector.
     * @returns The dot product of the two vectors.
     */
    static dot(v: Vec4, w: Vec4): number;
    /**
     * Reflects a vector across a normal vector.
     * The normal vector should be normalized (unit length).
     * @param v - The vector to reflect.
     * @param normal - The normal vector to reflect across (must be normalized).
     * @returns A new Vec4 instance representing the reflected vector.
     */
    static reflect(v: Vec4, normal: Vec4): Vec4;
    /**
     * Creates an immutable Vec4-like object.
     * @param x - The x-coordinate of the vector.
     * @param y - The y-coordinate of the vector.
     * @returns An immutable object with Vec4-like properties.
     */
    static immutable(x?: number, y?: number, z?: number, w?: number): {
        readonly x: number;
        readonly y: number;
        readonly z: number;
        readonly w: number;
        readonly xyzw: readonly number[];
        readonly magnitude: number;
        readonly magnitudeSq: number;
        readonly angleW: number;
        readonly angleX: number;
        readonly angleY: number;
        readonly angleZ: number;
        readonly isInfinite: boolean;
        readonly isNaN: boolean;
        readonly isZero: boolean;
    };
    /**
     * Checks if a vector has infinite components.
     * @param v - The vector to check.
     * @returns True if the vector has infinite components, false otherwise.
     */
    static isInfinite(v: Vec4): boolean;
    /**
     * Checks if a vector has NaN components.
     * @param v - The vector to check.
     * @returns True if the vector has NaN components, false otherwise.
     */
    static isNaN(v: Vec4): boolean;
    /**
     * Checks if a vector is zero.
     * @param v - The vector to check.
     * @returns True if the vector is zero, false otherwise.
     */
    static isZero(v: Vec4): boolean;
    /**
     * Performs linear interpolation between two vectors.
     * @param v - The first vector.
     * @param w - The second vector.
     * @param t - The interpolation parameter (0 to 1).
     * @returns A new Vec2 instance representing the interpolated vector.
     */
    static lerp(v: Vec4, w: Vec4, t: number): Vec4;
    /**
     * Negates a vector.
     * @param v - The vector to negate.
     * @returns A new Vec2 instance representing the negated vector.
     */
    static negate(v: Vec4): Vec4;
    /**
     * Normalizes a vector.
     * @param v - The vector to normalize.
     * @returns A new Vec2 instance representing the normalized vector.
     */
    static normalize(v: Vec4): Vec4;
    /**
     * Projects one vector onto another.
     * @param v - The vector to project.
     * @param w - The vector to project onto.
     * @returns A new Vec2 instance representing the projected vector.
     */
    static project(v: Vec4, w: Vec4): Vec4;
    /**
     * Creates a random unit vector.
     * @param random - A function that returns a random number between 0 and 1.
     * @returns A new Vec4 instance representing a random unit vector.
     */
    static random(random?: () => number): Vec4;
    /**
     * Checks if two vectors are equal.
     * @param v - The first vector.
     * @param w - The second vector.
     * @returns True if the vectors are equal, false otherwise.
     */
    static satisfyEquality(v: Vec4, w: Vec4): boolean;
    /**
     * Checks if two vectors are opposite.
     * @param v - The first vector.
     * @param w - The second vector.
     * @returns True if the vectors are opposite, false otherwise.
     */
    static satisfyOpposition(v: Vec4, w: Vec4): boolean;
    /**
     * Compares a vector with another vector using an epsilon value for floating-point comparison.
     * @param v - The first vector.
     * @param w - The second vector.
     * @param epsilon - The maximum difference between components to consider them equal.
     * @returns True if the vectors are equal within epsilon, false otherwise.
     */
    static equals(v: Vec4, w: Vec4, epsilon?: number): boolean;
    /**
     * Scales a vector by a scalar value.
     * @param v - The vector to scale.
     * @param c - The scalar value.
     * @returns A new Vec2 instance representing the scaled vector.
     */
    static scale(v: Vec4, c: number): Vec4;
    /**
     * Creates a zero vector.
     * @returns A new Vec4 instance representing a zero vector.
     */
    static zero(): Vec4;
    /**
     * Creates a vector with all components set to 1.0.
     * @returns A new Vec4 instance representing a vector with all components set to 1.0.
     */
    static one(): Vec4;
    /**
     * Creates a Vec4 from an array.
     * @returns A new Vec4 instance.
     */
    static fromArray(arr: [number, number, number, number] | number[]): Vec4;
    /**
     * Creates a Vec4 from an object with x, y, z and w properties.
     * @returns A new Vec4 instance.
     */
    static fromObject(obj: {
        x: number;
        y: number;
        z: number;
        w: number;
    }): Vec4;
    /**
     * Creates a Vec3 instance from a JSON-parsed object.
     * @param json - The JSON-parsed object containing x and y properties.
     * @returns A new Vec4 instance.
     */
    static fromJSON(json: {
        x: number;
        y: number;
        z: number;
        w: number;
    }): Vec4;
    /**
     * Gets the x-component of the vector.
     * @returns The x-component.
     */
    get x(): number;
    /**
     * Sets the x-component of the vector.
     * @param x - The new x-component.
     */
    set x(x: number);
    /**
     * Gets the y-component of the vector.
     * @returns The y-component.
     */
    get y(): number;
    /**
     * Sets the z-component of the vector.
     * @param y - The new z-component.
     */
    set y(y: number);
    /**
     * Gets the z-component of the vector.
     * @returns The z-component.
     */
    get z(): number;
    /**
     * Sets the z-component of the vector.
     * @param z - The new z-component.
     */
    set z(z: number);
    /**
     * Gets the w-component of the vector.
     * @returns The w-component.
     */
    get w(): number;
    /**
     * Sets the w-component of the vector.
     * @param w - The new w-component.
     */
    set w(w: number);
    /**
     * Gets a copy of the vector's components as an array.
     * @returns An array containing the x, y, z and w components of the vector.
     */
    get xyzw(): [number, number, number, number];
    /**
     * Sets both components of the vector at once.
     * @param xyzw - An array containing the new x, y and z components.
     */
    set xyzw(xyzw: [number, number, number, number] | number[]);
    /**
     * Gets the angle between the vector and the positive x-axis in radians.
     * @returns The angle in radians, always in the range [0, 2π).
     */
    get angleX(): number;
    /**
     * Gets the angle between the vector and the positive y-axis in radians.
     * @returns The angle in radians, always in the range [0, 2π).
     */
    get angleY(): number;
    /**
     * Gets the angle between the vector and the positive z-axis in radians.
     * @returns The angle in radians, always in the range [0, 2π).
     */
    get angleZ(): number;
    /**
     * Gets the angle between the vector and the positive w-axis in radians.
     * @returns The angle in radians, always in the range [0, 2π).
     */
    get angleW(): number;
    /**
     * Sets the magnitude (length) of the vector, maintaining its direction.
     * @param m - The new magnitude.
     */
    get magnitude(): number;
    /**
     * Gets the squared magnitude of the vector.
     * This is faster to compute than the actual magnitude and is useful for comparisons.
     * @returns The squared magnitude of the vector.
     */
    get magnitudeSq(): number;
    /**
     * Sets the magnitude (length) of the vector, maintaining its direction.
     * @param m - The new magnitude.
     */
    set magnitude(m: number);
    /**
     * Adds another vector to this vector.
     * @param v - The vector to add.
     * @returns This Vec4 instance for method chaining.
     */
    add(v: Vec4): this;
    /**
     * Subtracts another vector from this vector.
     * @param v - The vector to subtract.
     * @returns This Vec4 instance for method chaining.
     */
    subtract(v: Vec4): this;
    /**
     * Multiplies this vector with another vector.
     * @param v - The vector to multiply with.
     * @returns This Vec4 instance for method chaining.
     */
    multiply(v: Vec4): this;
    /**
     * Divides this vector with another vector.
     * @param v - The vector to divide with.
     * @returns This Vec4 instance for method chaining.
     */
    divide(v: Vec4): this;
    /**
     * Calculates the angle between this vector and another vector.
     * @param v - The other vector.
     * @returns The angle between the vectors in radians.
     */
    angleBetween(v: Vec4): number;
    /**
     * Clamps the magnitude of this vector between a minimum and maximum value.
     * @param min - The minimum magnitude.
     * @param max - The maximum magnitude.
     * @returns This Vec4 instance for method chaining.
     */
    clamp(min: number, max: number): this;
    /**
     * Creates a copy of this vector.
     * @returns A new Vec4 instance with the same components.
     */
    clone(): Vec4;
    /**
     * Copies the components of another vector to this vector.
     * @param v - The vector to copy from.
     * @returns This Vec2 instance for method chaining.
     */
    copy(v: Vec4): this;
    /**
     * Calculates the distance between this vector and another vector.
     * @param v - The other vector.
     * @returns The distance between the vectors.
     */
    distance(v: Vec4): number;
    /**
     * Calculates the Chebyshev distance between this vector and another vector.
     * @param v - The first vector.
     * @returns The Chebyshev distance between the vectors.
     */
    distanceChebyshev(v: Vec4): number;
    /**
     * Calculates the Manhattan distance between this vector and another vector.
     * @param v - The other vector.
     * @returns The Manhattan distance between the vectors.
     */
    distanceManhattan(v: Vec4): number;
    /**
     * Calculates the Minkowski distance between  thisvector and another vector.
     * @param v - The other vector.
     * @param p - The order of the Minkowski distance.
     * @returns The Minkowski distance between the vectors.
     */
    distanceMinkowski(v: Vec4, p: number): number;
    /**
     * Calculates the squared distance between this vector and another vector.
     * @param v - The other vector.
     * @returns The squared distance between the vectors.
     */
    distanceSq(v: Vec4): number;
    /**
     * Calculates the dot product of this vector with another vector.
     * @param v - The other vector.
     * @returns The dot product of the vectors.
     */
    dot(v: Vec4): number;
    /**
     * Reflects this vector across a normal vector.
     * The normal vector should be normalized (unit length).
     * @param normal - The normal vector to reflect across (must be normalized).
     * @returns This Vec4 instance for method chaining.
     */
    reflect(normal: Vec4): this;
    /**
     * Checks if this vector has infinite components.
     * @returns True if the vector has infinite components, false otherwise.
     */
    isInfinite(): boolean;
    /**
     * Checks if this vector has NaN components.
     * @returns True if the vector has NaN components, false otherwise.
     */
    isNaN(): boolean;
    /**
     * Checks if this vector is zero.
     * @returns True if the vector is zero, false otherwise.
     */
    isZero(): boolean;
    /**
     * Limits the maximum magnitude of this vector.
     * @param max - The maximum magnitude.
     * @returns This Vec2 instance for method chaining.
     */
    limitMax(max: number): this;
    /**
     * Limits the minimum magnitude of this vector.
     * @param min - The minimum magnitude.
     * @returns This Vec4 instance for method chaining.
     */
    limitMin(min: number): this;
    /**
     * Sets this vector to point towards another vector.
     * @param v - The vector to look at.
     * @returns This Vec4 instance for method chaining.
     */
    lookAt(v: Vec4): this;
    /**
     * Negates this vector.
     * @returns This Vec4 instance for method chaining.
     */
    negate(): this;
    /**
     * Normalizes this vector.
     * @returns This Ve4 instance for method chaining.
     */
    normalize(): this;
    /**
     * Projects this vector onto another vector.
     * @param v - The vector to project onto.
     * @returns This Vec4 instance for method chaining.
     */
    project(v: Vec4): this;
    /**
     * Sets this vector to a random direction with the same magnitude.
     * @param random - A function that returns a random number between 0 and 1.
     * @returns This Vec4 instance for method chaining.
     */
    random(random?: () => number): this;
    /**
     * Checks if this vector is equal to another vector.
     * @param v - The other vector.
     * @returns True if the vectors are equal, false otherwise.
     */
    satisfyEquality(v: Vec4): boolean;
    /**
     * Checks if this vector is opposite to another vector.
     * @param v - The other vector.
     * @returns True if the vectors are opposite, false otherwise.
     */
    satisfyOpposition(v: Vec4): boolean;
    /**
     * Compares this vector with another vector using an epsilon value for floating-point comparison.
     * @param v - The vector to compare with.
     * @param epsilon - The maximum difference between components to consider them equal.
     * @returns True if the vectors are equal within epsilon, false otherwise.
     */
    equals(v: Vec4, epsilon?: number): boolean;
    /**
     * Scales this vector by a scalar value.
     * @param c - The scalar value.
     * @returns This Vec4 instance for method chaining.
     */
    scale(c: number): this;
    /**
     * Sets this vector to zero.
     * @returns This Vec4 instance for method chaining.
     */
    zero(): this;
    /**
     * Makes the Vec4 instance iterable.
     * @yields The x, y, z and w components of the vector.
     */
    [Symbol.iterator](): IterableIterator<number>;
    /**
     * Returns a string representation of the vector.
     * @returns A string in the format "Vec4(x, y, z, w)".
     */
    toString(): string;
    /**
     * Converts the vector to a plain object.
     * @returns An object with x, y, z and w properties.
     */
    toObject(): {
        x: number;
        y: number;
        z: number;
        w: number;
    };
    /**
     * Serializes the vector to a JSON-friendly format.
     * @returns A JSON-friendly object representation of the vector.
     */
    toJSON(): {
        x: number;
        y: number;
    };
}
