import type { Box as NivoBox, ValueFormat } from '@nivo/core'; import type { LineSvgProps, Point, LineSeries, AllowedValue } from '@nivo/line'; import type { ScaleSpec } from '@nivo/scales'; import type { ComponentProps, CSSProperties } from 'react'; import { CustomLegend } from './CustomLegend'; import type { Serie } from './helpers'; import { LineChartTooltip } from './Tooltip'; type LineChartProps = { height?: string | number; margin?: NivoBox; xScale?: ScaleSpec; yScale?: ScaleSpec; data?: Serie[]; withLegend?: boolean; tooltipFunction?: (props: { point: Point; }) => Partial, 'xFormatted' | 'yFormatted'>>; axisFormatters?: Partial['axisTransformer']>>; pointFormatters?: Partial>>; tickValues?: Partial>; chartProps?: Partial>; 'data-testid'?: string; style?: CSSProperties; }; export declare function LineChart({ height, // to maintain aspect ratio based on our standard 1074px width margin, xScale, yScale, data, withLegend, tooltipFunction, axisFormatters, pointFormatters, tickValues, chartProps, style, 'data-testid': dataTestId, }: LineChartProps): import("react").JSX.Element; export declare namespace LineChart { var displayName: string; } export {}; //# sourceMappingURL=index.d.ts.map