/** * Turn a chart node into a `ChartInput`. * * Inline charts read `labels`/`series`. Bound charts derive them from the * materialized rows: x values in first-seen order, and either one series per * distinct `series.field` value or one series named after the magnitude * encoding. The same resolution backs the block's checks, so the render and * the diagnostics never disagree about what the chart shows. */ import type { IrNode } from '../../ir.js'; import type { ChartInput } from '../../render/chart-types.js'; /** True when the chart needs the encoded renderer rather than the original markup. */ export declare function isEncoded(node: IrNode): boolean; /** The sort a chart uses: the author's, or descending for a treemap. */ export declare function effectiveSort(node: IrNode): string; export declare function buildChartInput(node: IrNode): ChartInput; //# sourceMappingURL=chart-model.d.ts.map