import React from 'react'; import type { BarChartItemDataInterface, BarChartRef, BarChartRootPropsInterface } from './interfaces'; import { type SharedValue } from 'react-native-reanimated'; import { type SkFont } from '@shopify/react-native-skia'; interface BarChartContextInterface { data: BarChartItemDataInterface[]; maxValue: number; yAxisTicks: number[]; isLoading?: boolean; skeletonData: BarChartItemDataInterface[]; height: number; width: number; /** Visible width */ canvasWidth: number; /** Total width of the scrollable content */ contentWidth: number; /** The Y coordinate where the bars start (the visual floor) */ /** The Y coordinate where the bars start (the visual floor) */ graphBottom: number; /** The maximum pixel height a bar can reach */ maxBarHeight: number; /** The height reserved for the X-Axis labels */ xAxisHeight: number; barWidth: number; spacing: number; verticalScaleFactor: number; isScrollable: boolean; barColor: string; activeBorderColor: string; activeBorderWidth: number; font: SkFont | null; showXAxis: boolean; selectable: boolean; selectedIndex: SharedValue; entryProgress: SharedValue; scrollViewRef: React.RefObject; scrollX: SharedValue; hasYAxis: boolean; yAxisWidth: number; onBarPress?: (item: BarChartItemDataInterface | null, index: number) => void; } export declare const BarChartContext: React.Context; declare const BarChartProvider: React.FC; }>; export declare const useBarChart: () => BarChartContextInterface; export default BarChartProvider; //# sourceMappingURL=BarChartContext.d.ts.map