import type { PlotDrawFrame, PlotDrawScaleConfig } from "../types"; import type { InteractionsEventPointerPosition, InteractionsSyncConfig, PointerSyncPosition, ScaledSelectionRange } from "./types"; export declare const makePointerSyncPosition: (event: Pick, rect: DOMRect | undefined, frame: PlotDrawFrame, sync: InteractionsSyncConfig | undefined) => { pointerSyncPosition: PointerSyncPosition; cssX: number; cssY: number; } | undefined; export declare const pointerSyncPositionToInteractionsPosition: (pointerSyncPosition: PointerSyncPosition, frame: PlotDrawFrame, sync: InteractionsSyncConfig | undefined) => InteractionsEventPointerPosition | undefined; export declare const makeSpanSelectHelpers: (sync: InteractionsSyncConfig | undefined) => { toNormalized: (value: number, axis: "x" | "y") => number | null; fromNormalized: (normalized: number, axis: "x" | "y") => number | null; }; export declare const extrapolateScaledSelectionRange: (origin: PlotDrawScaleConfig["origin"], selectionRange: ScaledSelectionRange, frame: PlotDrawFrame) => { fromCSS: number; toCSS: number; scaled: ScaledSelectionRange[]; } | null; //# sourceMappingURL=positioning.d.ts.map