import React from 'react'; import type { ViewStyle } from 'react-native'; import type { DataValue, HeaderConfig, Series, StyleConfig, XAxisConfig, YAxisConfig } from '../types'; export interface LineChartProps { /** * The data to be displayed in the chart. Each item represents a series. */ data: Array>>; /** * Optional configuration for the Y axis. */ yAxisConfig?: YAxisConfig; /** * Optional configuration for the X axis. */ xAxisConfig?: XAxisConfig; /** * Additional style for the root View. */ style?: ViewStyle; /** * Testing id of the component. */ testID?: string; /** * Header configuration for the chart. */ headerConfig?: HeaderConfig; /** * Text to display when the chart is empty. */ emptyText?: string; /** * * styleConfig use to custom the style of the chart. * * styleConfig must be an object: * * color?: use to custom the legend colors. */ styleConfig?: StyleConfig; } declare const LineChart: ({ data, yAxisConfig, xAxisConfig, style, testID, headerConfig, emptyText, styleConfig, }: LineChartProps) => React.JSX.Element; export default LineChart;