import type { CellData, Column, RowData, TableFeature, TableOptions } from '@tanstack/react-table'; import { type JSX } from 'react'; import type { MeterBarChartColumnTypeFeatureConstructors } from './meterbar-chart-types.js'; import type { DataTableColumnDef, DataTableRowData } from '../../public.api.js'; import type { TDataTableFeatures } from '../types/features.types.js'; type MeterBarChartRendererType = { value: number | { name: string; value: number; color?: string; }[]; column: Column; }; /** * Type guard to check value against MultiMeterBar values. * @internal */ export declare function isMultiMeterBarData(value: unknown): value is Array<{ name: string; value: number; color?: string; }>; /** * Intended for configuring and rendering the meterbar chart component. */ export declare function MeterBarChartRenderer({ value, column, }: Readonly>): JSX.Element; /** * Gets the highest total max values in a meterbar column. * * @param data - table data * @param columns - table column definition * @returns record of highest total max value per column * @internal */ export declare function getTotalMaxFromMeterbarChartData(data: TData[], columns: DataTableColumnDef[]): Record; /** * Configuration hook for the DataTable Meterbar Chart feature. * @internal */ export declare function useMeterBarChartMaxValuesCalc(props: { data: TData[]; columns: DataTableColumnDef[]; }, options: TableOptions>): void; export declare function constructMeterBarChartColumnTypeFeature(): TableFeature; /** * DataTableMeterBarChartColumnTypeFeature is the plugin that provides the loading state for the DataTable, * which can be used to display a loading indicator while the table's columns and/or data are being loaded. */ export declare const DataTableMeterBarChartColumnTypeFeature: TableFeature; export {};