///
import { XAxisProps, YAxisProps } from 'recharts';
import { Props as AreaProps } from 'recharts/types/cartesian/Area';
import { Props as CartesianGridProps } from 'recharts/types/cartesian/CartesianGrid';
import { Payload } from 'recharts/types/component/DefaultLegendContent';
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
import { Props as LegendProps } from 'recharts/types/component/Legend';
import { ContentType, TooltipProps } from 'recharts/types/component/Tooltip';
export declare namespace ILineChart {
type Props = {
width?: string | number;
height?: string | number;
margin?: {
top?: number;
right?: number;
bottom?: number;
left?: number;
};
label?: string;
data?: any[];
lines?: Line[];
linesYAxisRight?: Line[];
xAxisDataKey?: string;
showTooltip?: boolean;
xAxisLabel?: string;
yAxisLabel?: string;
yAxisRightLabel?: string;
showRightYAxis?: boolean;
showLegends?: boolean;
customTooltip?: ContentType;
gradient?: React.ReactNode;
tooltipProps?: TooltipProps;
cartesianGridProps?: Omit;
legendProps?: Omit;
xAxisProps?: XAxisProps;
yAxisProps?: YAxisProps;
yAxisRightProps?: YAxisProps;
lineProps?: AreaProps;
lineYAxisRightProps?: AreaProps;
customTooltipLabelFormatter?: (label: any) => string;
dateFormat?: string;
};
type Line = {
dataKey: string;
name: string;
stroke?: string;
fill?: string;
fillOpacity?: number;
color?: string;
gradientId?: string;
[key: string]: any;
};
type CustomLegend = {
payload?: (Payload & {
payload: Payload['payload'] & {
fill: string;
};
})[];
};
}