import { type SharedValue } from "react-native-reanimated"; import { type ChartPadding } from "../draw/line"; import type { LiveChartPalette } from "../types"; import type { ResolvedSelectionDotConfig } from "../core/resolveConfig"; import type { ChartEngineLayout } from "../core/useLiveChartEngine"; /** * Crosshair vertical line + dim region to the right. No tooltip pill — * multi-series delivers scrub data via `onScrub` / `onScrubWorklet` callbacks. */ export declare function CrosshairLine({ scrubX, crosshairOpacity, engine, padding, palette, selectionDot, selectionY, scrubActive, selectionColor, dimOpacity, liveDotExtent, crosshairLineColor, crosshairStrokeWidth, crosshairOvershoot, crosshairFade, crosshairFadeDistance, crosshairLineCap, crosshairDash, crosshairDimColor, opaqueCanvas, }: { scrubX: SharedValue; crosshairOpacity: SharedValue; engine: ChartEngineLayout; padding: ChartPadding; palette: LiveChartPalette; /** Resolved selection-dot config; `null` hides it, a `component` renders the * consumer's dot, otherwise the built-in dot. */ selectionDot?: ResolvedSelectionDotConfig | null; /** Scrub intersection Y in canvas px (the value the dot marks); -1 hides it. */ selectionY?: SharedValue; /** Whether scrubbing is active (passed through to a custom dot). */ scrubActive: SharedValue | SharedValue; /** Fallback selection-dot color (leading-series color), used when the config's * own `color` is unset. */ selectionColor?: string; /** Opacity of content right of the crosshair (dstOut fade). Default 0.3. */ dimOpacity?: number; /** How far the live series dots extend past the plot's right edge. The dim * region extends by this much so it fully covers the dots — centered on that * edge, otherwise only half-dimmed — while leaving the value/Y-axis labels * the gutter reserves beyond them bright. Default 0. */ liveDotExtent?: number; crosshairLineColor?: string; /** Vertical crosshair line width in px. Default 1. */ crosshairStrokeWidth?: number; /** Resolved extension past the top and bottom plot edges in px. Default 0. */ crosshairOvershoot?: number; /** Fade the crosshair near the live edge. Default true. */ crosshairFade?: boolean; /** Visible-crosshair fade distance near the live edge in px. Default 4. */ crosshairFadeDistance?: number; /** Cap style for the vertical crosshair line. */ crosshairLineCap?: "butt" | "round" | "square"; /** Dash intervals `[on, off, …]` for the crosshair line; omit → solid. */ crosshairDash?: number[]; crosshairDimColor?: string; /** Paint the owned background instead of erasing destination alpha. */ opaqueCanvas?: boolean; }): import("react").JSX.Element; //# sourceMappingURL=CrosshairLine.d.ts.map