import { Geometry, Point, LineString } from "./internal"; /** * A LineString with exactly 2 Points. */ export declare class Line extends LineString { constructor(); constructor(hasZ: boolean, hasM: boolean); constructor(points: Array); constructor(line: Line); /** * Constructor * * @param point1 * first point * @param point2 * second point * @since 1.1.1 */ constructor(point1: Point, point2: Point); /** * {@inheritDoc} */ set points(points: Array); /** * {@inheritDoc} */ copy(): Geometry; }