import type { ScrollToOptions } from '@tanstack/react-virtual'; import type { DataTableRowInteractivityProps } from './row-interactivity-types.js'; import type { Row, TableFeature, TableOptions } from '../../hooks/useTable/types.js'; import type { DataTableRowData } from '../../public.api.js'; /** * Provides all necessary props for an interactive row element. * * @param row - the table row element * @param scrollToIndex - rowVirtualizer function for scrolling to the row with the specified index * @returns className and props for the row element */ export declare function useRowInteractivityProps(row: Row, scrollToIndex: (index: number, options?: ScrollToOptions) => void): { rowInteractivityClassName: string; rowInteractivityProps: Record | undefined; }; /** * Defines the user action table feature * @internal */ export declare const DataTableRowInteractivity: TableFeature; /** * Configuration hook for the rowInteractivity in the DataTable. * @internal */ export declare function useRowInteractivity(props: DataTableRowInteractivityProps, options: TableOptions): void;