import Node, { Point } from './Node'; import NodeFixedBounds from './NodeFixedBounds'; export interface LineStringStyle { strokeStyle?: string; lineWidth?: number; lineCap?: string; lineDash?: Array; } export interface LineStringParameters extends LineStringStyle { points: Array; } declare class LineString extends NodeFixedBounds { private points; private strokeStyle; private lineWidth; private lineCap; private lineDash; constructor({points, strokeStyle, lineWidth, lineCap, lineDash}: LineStringParameters); draw(context: CanvasRenderingContext2D): void; intersection({x, y}: Point): Node | undefined; } export default LineString;