import type { Point } from '../types'; export type LineSegment = [Point, Point]; /** * 判断两条线段是否平行 * * Judge whether two line segments are parallel * @param l1 - 第一条线段 | the first line segment * @param l2 - 第二条线段 | the second line segment * @returns 是否平行 | whether parallel or not */ export declare function isLinesParallel(l1: LineSegment, l2: LineSegment): boolean; /** * 获取两条线段的交点 * * Get the intersection of two line segments * @param l1 - 第一条线段 | the first line segment * @param l2 - 第二条线段 | the second line segment * @param extended - 是否包含延长线上的交点 | whether to include the intersection on the extension line * @returns 交点 | intersection */ export declare function getLinesIntersection(l1: LineSegment, l2: LineSegment, extended?: boolean): Point | undefined;