import { type ReactNode } from "react"; import { type ViewStyle } from "react-native"; export interface LiveChartTransitionProps { /** Key of the active child to show. Must match a child's `key`. */ active: string; /** Chart elements, each with a unique `key`. */ children: ReactNode; /** Cross-fade duration in ms. Default `300`. */ duration?: number; /** * Keep every child mounted for the lifetime of the transition (only the * opacity animates). Each chart's engine then settles its y-range once, up * front, so switching is a pure cross-fade with no reveal/range re-animation. * Costs more (all engines run continuously). Default `false` (mount the * active child + unmount the outgoing one after the fade). */ keepMounted?: boolean; /** Container style. */ style?: ViewStyle; } /** * Cross-fades between chart instances by `key` (e.g. line ↔ candle). Mounts the * active child plus any outgoing child still fading out; unmounts the outgoing * child once the fade completes. RN/Reanimated analogue of liveline's * `LivelineTransition`. */ export declare function LiveChartTransition({ active, children, duration, keepMounted, style, }: LiveChartTransitionProps): import("react").JSX.Element; //# sourceMappingURL=LiveChartTransition.d.ts.map