import { Bounds, ZoomOptions, AxisOptions, ChartEventMap } from '../../types'; import { Scale } from '../../scales'; import { EventEmitter } from '../EventEmitter'; export interface NavigationContext { viewBounds: Bounds; yScales: Map; yAxisOptionsMap: Map; xAxisOptions: AxisOptions; primaryYAxisId: string; getPlotArea: () => { x: number; y: number; width: number; height: number; }; events: EventEmitter; requestRender: () => void; series: Map; } /** * Apply zoom to the chart */ export declare function applyZoom(ctx: NavigationContext, options: ZoomOptions): void; /** * Apply pan to the chart */ export declare function applyPan(ctx: NavigationContext, deltaX: number, deltaY: number, axisId?: string): void;