import { Class } from 'everyday-types'; import { Intersect } from './core'; import { Point } from './point'; import { Rect } from './rect'; import { Shape } from './shape'; export declare class Line { p1: Point; p2: Point; constructor(line: Line); constructor(p1: Point, p2: Point); [Symbol.iterator](): IterableIterator; get points(): Point[]; angle(): number; angleDegrees(): number; clone(this: this): this; mag(this: this): number; dot(this: this): number; intersectionRect(r: Rect): Intersect; intersectsRect(r: Rect): Intersect; intersectsLine(other: Line): boolean; getLineToRectangleCollisionResponse(this: this, intersection: Intersect, r: Rect): Line; translate(this: this, x: Shape): InstanceType>; translate(this: this, x: number, y?: number): InstanceType>; translateSelf(this: this, x: Shape): InstanceType>; translateSelf(this: this, x: number, y?: number): InstanceType>; }