import { type SkPath } from "@shopify/react-native-skia"; import { type SharedValue } from "react-native-reanimated"; import type { MultiEngineState } from "../core/useLiveChartEngine"; import { type ChartPadding } from "../draw/line"; /** * One derived shared value holding only the active series' Skia paths, capped at * `MAX_MULTI_SERIES`. * * Each visible series' path is built into a per-slot `Skia.PathBuilder` (reused * across frames via a SharedValue) and finalized with `detach()` — a fresh * immutable `SkPath` per frame, so `MultiSeriesStroke`'s per-slot * `useDerivedValue(() => paths.value[index])` repaints without the two-SkPath * ping-pong. Only active series allocate and publish a path. */ export declare function useMultiSeriesLinePaths(engine: MultiEngineState, padding: ChartPadding, activeSeriesCount?: number, /** Shared screen-space simplification tolerance; a series can override it. */ simplifyTolerance?: number): SharedValue; //# sourceMappingURL=useMultiSeriesLinePaths.d.ts.map