import type { Types } from '@cornerstonejs/core'; export default function getLineSegmentIntersectionsIndexes(polyline: Types.Point2[], p1: Types.Point2, q1: Types.Point2, closed?: boolean): Types.Point2[];