import { Vector4 } from "../../type_definitions/array_type_definitions.js"; import { EasingFunction } from "../math_utils.js"; export declare function create(): Vector4; export declare function create(x: number, y: number, z: number, w: number): Vector4; export declare function create(uniformValue: number): Vector4; export declare function getAllocationFunction(): () => Vector4; /** Specify the function that will be used to allocate the vector when calling the {@link create} function */ export declare function setAllocationFunction(allocationFunction: () => Vector4): void; export declare function set(vector: T, x: number, y: number, z: number, w: number): T; export declare function set(vector: T, uniformValue: number): T; export declare function copy(from: Readonly, to: T): T; /** The overload where `T extends Vector4` does also get `array` as `Readonly`, but is not marked as such due to Typescript having issues with inferring the proper type of `T` when `Readonly` is used */ export declare function clone(vector: Readonly): T; export declare function clone(vector: Readonly): number[]; export declare function clone(vector: T): T; export declare function equals(first: Readonly, second: Readonly, epsilon?: number): boolean; export declare function lerp(from: Readonly, to: Readonly, interpolationFactor: number): T; export declare function lerp(from: Readonly, to: Readonly, interpolationFactor: number, out: T): T; export declare function interpolate(from: Readonly, to: Readonly, interpolationFactor: number, easingFunction?: EasingFunction): T; export declare function interpolate(from: Readonly, to: Readonly, interpolationFactor: number, easingFunction: EasingFunction, out: T): T; export declare const Vec4Utils: { readonly create: typeof create; readonly getAllocationFunction: typeof getAllocationFunction; readonly setAllocationFunction: typeof setAllocationFunction; readonly set: typeof set; readonly copy: typeof copy; readonly clone: typeof clone; readonly equals: typeof equals; readonly lerp: typeof lerp; readonly interpolate: typeof interpolate; };