import { type SharedValue } from "react-native-reanimated"; import type { ChartEngineScroll, SingleEngineState } from "../core/useLiveChartEngine"; import type { ChartPadding } from "../draw/line"; /** * Derive the live dot position (right edge of the chart, mapped to current value). * Returns `{ dotX, dotY }` as shared values. Coordinates are set to `-100` * (off-screen sentinel) when canvas dimensions are unavailable. * * With `followViewEdge` + `edgeValue`, the dot (and the value line that shares * `dotY`) tracks the visible window's right-edge price while scrolled back, so it * stays aligned with a `followViewEdge` badge instead of marking the live value. * * With `trackWhileParked` (`dot.trackWhileParked`), the dot instead tracks the * **true live point's x** while scrolled back / overscrolled (`viewEnd` * frozen), and hides once the live point leaves the visible window. * `followViewEdge` wins when both are set — an edge-pinned dot must stay * aligned with its badge. */ export declare function useLiveDot(engine: SingleEngineState & ChartEngineScroll, padding: ChartPadding, edgeValue?: SharedValue, followViewEdge?: boolean, trackWhileParked?: boolean): { readonly dotX: import("react-native-reanimated").DerivedValue; readonly dotY: import("react-native-reanimated").DerivedValue; }; //# sourceMappingURL=useLiveDot.d.ts.map