import * as d3 from 'd3'; import GraphView from './graph-view'; import SlotView from './slot-view'; import { ICoord, d3Selection } from './util'; export interface InitialSettings { graphView: GraphView; slotView: SlotView; } export default class TrackerView { $el: d3Selection; protected $path: d3Selection; protected slotView: SlotView; protected lineGenerator: d3.Line; protected points: [ICoord, ICoord]; constructor(settings: InitialSettings); private getCoord(slotCoord); render(deltaX: number, deltaY: number): void; renderMatched(): void; findConnectActiveSlot(connectable: [SlotView]): SlotView; destory(): void; }