///
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 IAreaChart {
type Props = {
width?: string | number;
hideYAxis?: boolean;
hideXAxis?: boolean;
hideCartesianGrid?: boolean;
height?: string | number;
margin?: {
top?: number;
right?: number;
bottom?: number;
left?: number;
};
data?: any[];
areas?: Area[];
areasYAxisRight?: Area[];
xAxisDataKey?: string;
showTooltip?: boolean;
showAverageLine?: boolean;
averageLineValue?: number;
averageLineColor?: string;
xAxisLabel?: string;
fillColor?: string;
gradientColor?: string;
isGradient?: boolean;
isFilled?: boolean;
gradientStart?: number;
gradientStop?: number;
yAxisLeftLabel?: string;
yAxisRightLabel?: string;
showRightYAxis?: boolean;
showLegends?: boolean;
customTooltip?: ContentType;
gradient?: string;
tooltipProps?: TooltipProps;
cartesianGridProps?: Omit;
legendProps?: Omit;
xAxisProps?: XAxisProps;
yAxisProps?: YAxisProps;
yAxisRightProps?: YAxisProps;
areaProps?: AreaProps;
areaYAxisRightProps?: AreaProps;
customTooltipLabelFormatter?: (label: any) => string;
fullScreenFeature?: boolean;
dateFormat?: string;
};
type Area = {
dataKey: string;
name: string;
stroke?: any;
fill?: any;
fillOpacity?: number;
color?: string;
gradientId?: string;
[key: string]: any;
};
type CustomLegend = {
payload?: (Payload & {
shape?: React.ReactNode;
payload: Payload['payload'] & {
fill: string;
};
})[];
};
}