import { type SharedValue } from "react-native-reanimated"; import type { ChartEngineLayout } from "../core/useLiveChartEngine"; import type { ChartPadding } from "../draw/line"; import type { LiveChartPoint } from "../types"; export interface ReferenceLineSeriesGeometry { /** Visible series polyline as `[x, y, …]` screen coordinates. */ screenPts: SharedValue; /** Whether any series segment crosses the visible plot. */ visible: SharedValue; /** Series value at the chart's current right edge. */ currentValue: SharedValue; /** Canvas Y coordinate of {@link currentValue}. */ currentY: SharedValue; /** Whether the current-value label belongs inside the visible plot. */ currentVisible: SharedValue; } /** * UI-thread geometry for a static historical reference-line series. Point * buffers ping-pong so Reanimated observes a changed array reference each frame * without allocating new intermediate arrays. */ export declare function useReferenceLineSeries(engine: ChartEngineLayout, padding: ChartPadding, points: LiveChartPoint[], extendToStart: boolean, extendToNow: boolean): ReferenceLineSeriesGeometry; //# sourceMappingURL=useReferenceLineSeries.d.ts.map