import { type SharedValue } from "react-native-reanimated"; import type { SkFont } from "@shopify/react-native-skia"; import type { ChartEngineLayout } from "../core/useLiveChartEngine"; import type { ResolvedSegment } from "../core/resolveSegment"; import type { ChartPadding } from "../draw/line"; /** Screen-space geometry for one segment's divider + label, per frame. */ export interface SegmentDividerLayout { visible: boolean; /** Segment left edge (px) — the divider sits here. */ x1: number; /** Segment right edge (px). */ x2: number; /** Segment top edge (plot top). */ yTop: number; /** Segment bottom edge (plot bottom). */ yBottom: number; label: string; labelX: number; labelY: number; } /** * Derives the screen-space geometry for a single segment's dashed divider and * caption label each frame: the x-extent projected from its `[from, to]` time * range, the plot's top/bottom edges, and the label anchor. The projection math * lives in pure `segmentBandX` so it is unit-testable without Reanimated. */ export declare function useSegmentDivider(engine: ChartEngineLayout, padding: ChartPadding, segment: ResolvedSegment, font: SkFont): SharedValue; //# sourceMappingURL=useSegmentDivider.d.ts.map