/** * Data table cells: one renderer per column type. * * Every value goes through `formatValue`, so a cell reads like the same value * in a chart or a metric. Each cell also carries its raw value in `data-sort`, * which the sort runtime compares, so sorting never depends on display text. */ import { type DataRow, type DataScalar } from '../../data/dataset-types.js'; import type { DataColumn } from './data-table-columns.js'; /** * The value as a link target when it passes the same URL policy as every URL * prop (relative, https, http or mailto); undefined otherwise. */ export declare function safeHref(value: DataScalar): string | undefined; /** The raw value the sort runtime compares; undefined for an empty cell. */ export declare function sortValue(value: DataScalar): string | undefined; /** The inner markup of one cell. */ export declare function cellContent(column: DataColumn, row: DataRow): string; /** Alignment class shared by a column's header and its cells. */ export declare function alignClass(column: DataColumn): string | undefined; /** * One body cell. The first column is the row header, which the card layout on * narrow screens also uses as the card's title. */ export declare function renderCell(column: DataColumn, row: DataRow, first: boolean): string; //# sourceMappingURL=data-table-cells.d.ts.map