import type { Coordinate } from 'ol/coordinate' import LineString from 'ol/geom/LineString' declare module 'ol/geom/LineString' { export default interface LineString { /** Split a lineString by a point or a list of points * NB: points must be on the line, use getClosestPoint() to get one * @param {ol.Coordinate | Array