/** @module vector2 */ /** */ import { IVector2 } from "../vector2"; /** * Loops through the dimensions of a vector. * Starts at zero, so keep in mind that the number of callbacks will be the dimension sizes +1; * * @param vector - Vector to traverse. * @param callback - Callback for each step. * @param step - Step size (default: 1). */ export declare function traverse(vector: IVector2, callback: (vector: IVector2) => void, step?: number): void;