/** * Line Utils * A line is an array of two points e.g. [[-5, 0], [5, 0]]. */ import type { Point } from "./point"; export type Line = [Point, Point]; export declare function distanceToPoint(line: Line, point: Point): number; export declare function reflectPoint(line: Line, point: Point): Point; export declare function midpoint(line: Line): Point; export declare function equal(line1: Line, line2: Line, tolerance?: number): boolean;