import { ColumnDef } from './types.js'; import { TableState, RowGroup } from './table-state-types.js'; import { ConditionalRule } from '../../lib/table-properties-types.js'; import 'react'; import '../../lib/column-cell-kind.js'; import '../../lib/status-badge-tints.js'; import './use-table-state.js'; import '../../lib/column-filter-context.js'; import '../../lib/column-filter-person-options.js'; import '../../lib/row-height.js'; interface LazyLoadingOptions { enabled?: boolean; threshold?: number; chunkSize?: number; intervalMs?: number; loadingLabel?: string; } declare function useDataTableRowModel>({ state, lazyLoading, getRowIdProp, }: { state: TableState; lazyLoading: LazyLoadingOptions | undefined; getRowIdProp: ((row: TData, index: number) => string | number) | undefined; }): { displayedGroups: RowGroup[]; isLazyLoading: boolean; lazyLoadingLabel: string; visibleRowIds: (string | number)[]; allSelected: boolean; someSelected: boolean; anySelected: boolean; }; /** * Column keys carrying a filter that actually narrows the rows. Mirrors the * `activeWithValues` gate in `use-table-state` — a filter row whose value is * still blank changes nothing, so it must not claim a header indicator. */ declare function useFilteredColumnKeys(activeFilters: TableState>["activeFilters"]): Set; /** Column keys with a conditional-formatting rule that can paint a cell. */ declare function useConditionalRuleColumnKeys>(conditionalRules: ConditionalRule[] | undefined, columns: ColumnDef[]): Set; export { type LazyLoadingOptions, useConditionalRuleColumnKeys, useDataTableRowModel, useFilteredColumnKeys };