import { type SharedValue } from "react-native-reanimated"; export declare const MODE_BLEND_DURATION_MS = 300; export interface ModeBlendState { /** 0 = fully line, 1 = fully candle */ modeBlend: SharedValue; /** line opacity = reveal.lineOpacity * (1 - modeBlend) */ lineGroupOpacity: SharedValue; /** candle opacity = reveal.lineOpacity * modeBlend */ candleGroupOpacity: SharedValue; } /** * Animated crossfade between line and candle chart layers. * * `modeBlend` animates 0→1 when `isCandle` becomes true, 1→0 when false. * The derived opacities multiply by `lineOpacity` from `useChartReveal` * so the reveal and mode-switch animations compose correctly. */ export declare function useModeBlend(isCandle: boolean, lineOpacity: SharedValue, /** Crossfade duration (ms). Default {@link MODE_BLEND_DURATION_MS}; `0` snaps. */ duration?: number): ModeBlendState; //# sourceMappingURL=useModeBlend.d.ts.map