import type { ObjectPropertyPath } from "@octopusdeploy/type-utils"; import type { ReactNode } from "react"; import type { TooltipContentProps } from "recharts"; import type { NameType, ValueType } from "recharts/types/component/DefaultTooltipContent"; import type { AxisDomain, Margin } from "recharts/types/util/types"; export interface MultiSeriesData { name: string; id: string; data: TResource[]; } export interface BaseChartProps { data: MultiSeriesData[]; dataKey: ObjectPropertyPath; xAxisDataKey: ObjectPropertyPath; yAxisDataKey?: ObjectPropertyPath; xAxisLabel?: string; yAxisLabel?: string; xAxisType?: "number" | "category"; yAxisType?: "number" | "category"; margin?: Margin; yTickFormatter?: (value: any, index: number) => string; xTickFormatter?: (value: any, index: number) => string; xAxisDomain?: AxisDomain; yAxisDomain?: AxisDomain; loading?: boolean; yAxisTickArray?: (string | number)[]; xAxisTickInterval?: number; } export interface LineChartProps extends BaseChartProps { tooltip?: JSX.Element | ((props: TooltipContentProps) => ReactNode); showLegend?: boolean; } export declare function LineChart({ data, dataKey, xAxisDataKey, yAxisDataKey, xAxisLabel, yAxisLabel, xTickFormatter, yTickFormatter, xAxisDomain, yAxisDomain, xAxisType, yAxisType, margin, tooltip, showLegend, loading, yAxisTickArray, xAxisTickInterval, }: LineChartProps): import("react/jsx-runtime").JSX.Element;