import type { LineChartDatum, LineChartSeries } from '../LineChartContext'; /** * Dev-only sanity checks. Surfaces three classes of caller mistake as * `console.warn` so the chart fails loudly in development instead of silently * rendering a broken plot: * * - `xKey` missing on datums (Recharts would draw gaps or break ordering) * - `data` not sorted ascending by `xKey` (Recharts assumes an ordered domain) * - `series[].key` not present on any datum (line renders empty) * * Production builds short-circuit before any iteration to avoid the per-render * cost on large datasets. */ export declare const useLineChartDataWarnings: ({ data, series, xKey, }: { data: LineChartDatum[]; series: LineChartSeries[]; xKey: string; }) => void;