/** * Bound rows to chart data: x values in first-seen order, one series per * distinct `series.field` value (or one named after the magnitude), and the * fallback table of the rows themselves, formatted like the axes. */ import type { IrNode } from '../../ir.js'; import type { ChartPoint, ChartSeries, ChartTable, HeatCell } from '../../render/chart-types.js'; /** The fallback table: the bound rows, one column per encoded field. */ export declare function rowsTable(node: IrNode, magnitudeKey: string): ChartTable | undefined; /** Labels, series and kind-specific marks derived from rows or inline props. */ export interface Derived { labels: string[]; series: ChartSeries[]; points: ChartPoint[]; cells: HeatCell[]; rowLabels: string[]; samples: number[]; /** Raw x value (as text) to its display label, for overlay matching. */ rawToLabel: Map; } /** Derive a bound chart's labels and series (or points, cells, samples) from its rows. */ export declare function deriveFromRows(node: IrNode, magnitudeKey: string): Derived; //# sourceMappingURL=chart-model-rows.d.ts.map