import type { SharedValue } from "react-native-reanimated"; import type { ResolvedSegment } from "../core/resolveSegment"; import type { ChartEngineLayout } from "../core/useLiveChartEngine"; import type { ChartPadding } from "../draw/line"; interface SegmentLineGradientProps { engine: ChartEngineLayout; segments: ResolvedSegment[]; padding: ChartPadding; baseColor: string; scrubX: SharedValue; scrubActive: SharedValue; } /** * Keeps the two SharedValues passed to Skia on one stop-count lifecycle. * * Scrubbing can change which stops are visible without changing `stopCount`, so * padding keeps those mapper updates safe. When the segment props themselves * change the count, the keyed child remounts both SharedValues together instead * of letting one retain the previous length for a frame. */ export declare function SegmentLineGradient(props: SegmentLineGradientProps): import("react").JSX.Element; export {}; //# sourceMappingURL=SegmentLineGradient.d.ts.map