import Line2 from './type'
import Vec2 from '../vec2/type'

export default closestPoint

declare function closestPoint(line: Line2, point: Vec2): Vec2
