export function closestPointToLineSegment(start: any, end: any, p: any): any; export function closestPointToPolyLine(points: any, pos: any): any;