import { type SharedValue } from "react-native-reanimated"; import type { ChartEngineLayout } from "../core/useLiveChartEngine"; import type { ResolvedSegment } from "../core/resolveSegment"; import type { ChartPadding } from "../draw/line"; /** * Derives the horizontal gradient applied to the line stroke for "scrub focus": * the line is a flat `baseColor` at rest, and while scrubbing (or when a segment * is `active`) the focused segment stays `baseColor` while the others are * de-emphasized with their `lineColor`/`lineColors`. `colors`/`positions` come * from the pure `segmentLineGradient`; `gradientEnd` spans the full canvas width * so stop fractions and the gradient vector share one coordinate space. Apply it * to the same `linePath` as the base line — one stroke, no seam, and the line * itself carries the opacity (not a layer painted on top). */ export declare function useSegmentLineGradient(engine: ChartEngineLayout, segments: ResolvedSegment[], padding: ChartPadding, baseColor: string, scrubX: SharedValue, scrubActive: SharedValue): { colors: import("react-native-reanimated").DerivedValue; positions: import("react-native-reanimated").DerivedValue; gradientEnd: import("react-native-reanimated").DerivedValue; }; //# sourceMappingURL=useSegmentLineGradient.d.ts.map