import { SimpleRect } from "./Rect"; export default class Point { x: number; y: number; constructor(x: number, y: number); static fromSimplePoint(source: SimplePoint): Point; static getMagnitude(source: SimplePoint, target: SimplePoint): number; static getDotProductWithPoint(source: SimplePoint, target: SimplePoint): number; static getDistanceToPoint(source: SimplePoint, target: SimplePoint): number; static translateX(source: SimplePoint, x: number): Point; static translateY(source: SimplePoint, y: number): Point; static translateByCoords(source: SimplePoint, x: number, y: number): Point; static translateByPoint(source: SimplePoint, target: SimplePoint): Point; static clampX(source: SimplePoint, min: number, max: number): Point; static clampY(source: SimplePoint, min: number, max: number): Point; static clampByRect(source: SimplePoint, target: SimpleRect): Point; clone(): Point; getMagnitude(): number; getDotProductWithPoint(target: SimplePoint): number; getDistanceToPoint(point: SimplePoint): number; translateX(x: number): this; translateY(y: number): this; translateByCoords(x: number, y: number): this; translateByPoint(point: SimplePoint): this; clampX(min: number, max: number): this; clampY(min: number, max: number): this; clampByRect(rect: SimpleRect): this; } export interface SimplePoint { x: number; y: number; }