export interface VectorLike {
    x: number;
    y: number;
}
export declare class Vector {
    x: number;
    y: number;
    constructor(x: number, y: number);
    constructor(coords: VectorLike);
    copy(): Vector;
    add(other: Vector | VectorLike): Vector;
    subtract(other: Vector | VectorLike): Vector;
    multiply(scalar: number): Vector;
    divide(scalar: number): Vector;
    negate(): Vector;
    dot(other: Vector | VectorLike): number;
    cross(other: Vector | VectorLike): number;
    magnitude(): number;
    magnitude_squared(): number;
    normalize(): Vector;
    dist_to(other: Vector | VectorLike): number;
    dist_to_squared(other: Vector | VectorLike): number;
    angle(): number;
    angle_to(other: Vector | VectorLike): number;
    rotate(angle: number): Vector;
    lerp(other: Vector | VectorLike, t: number): Vector;
    floor(): Vector;
    ceil(): Vector;
    round(): Vector;
    abs(): Vector;
    min(other: Vector | VectorLike): Vector;
    max(other: Vector | VectorLike): Vector;
    clamp(min_val: Vector | VectorLike, max_val: Vector | VectorLike): Vector;
    closest(vectors: (Vector | VectorLike)[]): Vector;
    furthest(vectors: (Vector | VectorLike)[]): Vector;
    equals(other: Vector | VectorLike, epsilon?: number): boolean;
    set(x: number, y: number): Vector;
    set_from(other: Vector | VectorLike): Vector;
    to_object(): VectorLike;
    to_array(): [number, number];
    toString(): string;
    static zero(): Vector;
    static one(): Vector;
    static up(): Vector;
    static down(): Vector;
    static left(): Vector;
    static right(): Vector;
    static from_angle(angle: number, magnitude?: number): Vector;
    static min_vec(vectors: (Vector | VectorLike)[]): Vector;
    static max_vec(vectors: (Vector | VectorLike)[]): Vector;
    static sum(vectors: (Vector | VectorLike)[]): Vector;
    static average(vectors: (Vector | VectorLike)[]): Vector;
}
export declare function vector(x: number, y: number): Vector;
export declare function vector(coords: VectorLike): Vector;
