import type { ReactNode } from 'react'; interface ColumnAssignedNode { readonly columnId?: string; readonly column?: number; } /** A column header resolved from the column ids and the `columnLabels`. */ export interface SankeyColumnHeaderEntry { columnIndex: number; columnId: string; label: ReactNode; } /** * Resolves the headers to render, one per column in first-appearance order. * The label is the `columnLabels` entry of the column id, or the id itself * when there is no entry. A column whose label is an empty string has no * header. */ export declare function resolveColumnHeaders(nodes: ReadonlyArray, columnLabels: Record | undefined): SankeyColumnHeaderEntry[]; export {}; //# sourceMappingURL=resolve-column-headers.d.ts.map