/** * a 2x1 matrix * @public * @noSelf */ declare class v2 { readonly x: float; readonly y: float; /** * **instanciating this class with `new` will break the lua** * @deprecated */ constructor(x: float, y: float); public __add(val: v2|v3|float): v2; public __sub(val: v2|v3|float): v2; public __mul(val: v2|v3|float): v2; public __div(val: v2|v3|float): v2; public __eq(val: v2): boolean; public __lt(val: v2): boolean; public __le(val: v2): boolean; public __tostring(): string public magnitude(val: v2|null): float; } /** * @noSelf */ declare function v2(x: float, y: float): v2