import { Selection } from "d3-selection"; import { ZoomBehavior, ZoomedElementBaseType } from "d3-zoom"; import { RcsbFvTrackDataElementInterface } from "../../RcsbDataManager/RcsbDataManager"; import { RcsbScaleInterface } from "./RcsbD3ScaleFactory"; import { RcsbTrackInterface } from "../RcsbDisplay/RcsbDisplayInterface"; export interface SVGConfInterface { elementId: string; domClass: string; svgClass: string; width: number; pointerEvents: string; boardSubject: RcsbTrackInterface["trackSubject"]; xScale: RcsbScaleInterface; } export interface MainGConfInterface { masterClass: string; innerClass: string; dblClick: (event: MouseEvent) => void; mouseDown: (event: MouseEvent) => void; mouseUp: (event: MouseEvent) => void; mouseEnter: (event: MouseEvent) => void; mouseLeave: (event: MouseEvent) => void; } export interface PaneConfInterface { paneClass: string; bgColor: string; elementId: string; } export interface TrackConfInterface { trackClass: string; height: number; compositeHeight: number; bgColor: string; } export interface ZoomConfigInterface { zoomEventHandler: ZoomBehavior; zoomCallback: () => void; } export interface HighlightRegionInterface { trackG: Selection; height: number; xScale: RcsbScaleInterface; rectClass: string; elements: Array; color?: string; } export interface MoveSelectedRegionInterface { trackG: Selection; xScale: RcsbScaleInterface; rectClass: string; } export declare class RcsbD3Manager { private _dom; private _svg; private _zoomG; private _svgG; private _pane; private _trackHeightPosition; private _width; svgG(): Selection; zoomG(): Selection; buildSvgNode(config: SVGConfInterface): void; private addBoardEvents; addMainG(config: MainGConfInterface): void; addPane(config: PaneConfInterface): void; getPane(): SVGRectElement; resetAllTracks(): void; addTrack(config: TrackConfInterface): Selection; setBoardHeight(height: number): void; addZoom(config: ZoomConfigInterface): void; highlightRegion(hlConfig: HighlightRegionInterface): void; moveSelection(config: MoveSelectedRegionInterface): void; }