import type { ColumnDataType, DataTableColumn, DataTableFilter, DataTableProps, DataTableSort, FilterType } from './types'; /** * Pure data helpers for DataTable: value access, formatting, aggregation, * sorting and filtering. Nothing here touches React or the theme, so it can be * unit-tested and reused by the sub-components without dragging the table in. */ export declare const getValue: (row: T, accessor: keyof T | ((row: T) => any)) => any; export declare const formatValue: (value: any, dataType?: ColumnDataType) => string; export declare const isNumericType: (dataType?: ColumnDataType) => boolean; export declare const computeAggregate: (agg: import("./types").AggregateType, rows: T[], column: DataTableColumn) => number | string; export declare const DEFAULT_COLUMN_WIDTH = 120; export declare const SELECT_COL_WIDTH = 50; export declare const EXPAND_COL_WIDTH = 50; export declare const getColumnAlign: (column: DataTableColumn) => "left" | "center" | "right"; export declare const getColumnFilterType: (column: DataTableColumn) => FilterType; export declare const sortData: (data: T[], sortBy: DataTableSort[], columns: DataTableColumn[]) => T[]; export declare const toDayKey: (value: any) => number | null; export declare const filterData: (data: T[], filters: DataTableFilter[], columns: DataTableColumn[], searchValue?: string, rowFeatureToggle?: DataTableProps["rowFeatureToggle"]) => T[];