import { type SkFont } from "@shopify/react-native-skia"; import { type SharedValue } from "react-native-reanimated"; import type { ResolvedThresholdLineConfig } from "../core/resolveConfig"; import type { ChartEngineLayout } from "../core/useLiveChartEngine"; import type { ChartPadding } from "../draw/line"; import type { LiveChartPalette } from "../types"; interface ThresholdMarkerProps { engine: ChartEngineLayout; padding: ChartPadding; lineY: SharedValue; visible: SharedValue; value: SharedValue; cfg: ResolvedThresholdLineConfig; palette: LiveChartPalette; font: SkFont; formatValue: (v: number) => string; /** When set, draw the marker as this time-varying threshold polyline (`[x, y, …]`) * instead of a horizontal line at `lineY`. */ seriesPts?: SharedValue; /** Optional first rendered X for a non-extended series badge. */ leftAnchorX?: SharedValue; } /** * The dashed horizontal marker line at a live threshold value, tracking a * `SharedValue` pixel-Y on the UI thread. Drawn **behind** the chart line so the * data line stays the focus; the label badge ({@link ThresholdBadgeOverlay}) is * a separate layer drawn on top. Hidden when the threshold is off-screen. */ export declare function ThresholdLineOverlay({ engine, padding, lineY, visible, cfg, palette, seriesPts, }: ThresholdMarkerProps): import("react").JSX.Element; /** * The threshold's label as an opaque badge pill (rounded background + colored * border, like `ReferenceLineOverlay`'s off-axis badge). Drawn **on top** of the * chart line so the label is never painted over, and anchored hard to the plot's * left edge by default (clear of the y-axis labels + live badge) or the right * gutter. Renders nothing when there is no label and no `showValue`. */ export declare function ThresholdBadgeOverlay({ engine, padding, lineY, visible, value, cfg, palette, font, formatValue, leftAnchorX, }: ThresholdMarkerProps): import("react").JSX.Element | null; export {}; //# sourceMappingURL=ThresholdLineOverlay.d.ts.map