import { type RowData, type Table, type TableFeature } from '@tanstack/react-table'; import type { Virtualizer } from '@tanstack/react-virtual'; import type { TDataTableFeatures } from '../types/features.types.js'; /** * @internal */ export declare function table_registerVirtualizers(table: Table, rowVirtualizer: Virtualizer, columnVirtualizer: Virtualizer): void; /** * @internal */ export declare function table_getRowVirtualizer(table: Table): Virtualizer | undefined; /** * @internal */ export declare function table_getColumnVirtualizer(table: Table): Virtualizer | undefined; /** * @internal */ export declare function table_getRowVirtualizationContainer(table: Table): HTMLDivElement | undefined; /** * @internal */ export declare function table_getRowHeight(table: Table, rowId: string): number; /** * @internal */ export declare function table_getRowScrollOffset(table: Table): number | null | undefined; /** * @internal */ export declare function table_scrollToRowOffset(table: Table, offset: number | undefined | null): void; /** * Scroll to a given `rowId` using `rowVirtualizer.scrollToIndex` * @internal */ export declare function table_scrollToRow(table: Table, rowId: string, align?: 'start' | 'center' | 'end'): void; /** * @internal */ export declare function table_remeasureRows(table: Table, containerWidth: number): void; /** * @internal */ export declare function table_remeasureColumn(table: Table, columnId?: string): void; /** * @internal */ export declare function table_remeasureAllColumns(table: Table): void; /** * @internal */ export declare function table_hasColumnCellsRendered(table: Table, columnId: string): boolean; /** * @internal */ export declare function table_getMeasuredColumnWidths(table: Table): Map; /** * @internal */ export declare function table_getMeasuredColumnWidth(table: Table, columnId: string): number | undefined; /** * @internal */ export declare function table_resetMeasuredColumnWidths(table: Table, ids?: string[]): void; /** * @internal */ export declare function table_setMeasuredColumnWidth(table: Table, id: string, width: number): void; /** * @internal */ export declare function table_getHasVirtualizedRows(table: Table, virtualItemsLength: number): boolean; /** * Constructs the virtual scrolling feature for the table. * @internal */ export declare function constructVirtualScrollingFeature(): TableFeature; /** * Feature implementation for virtual scrolling. * @internal */ export declare const DataTableVirtualScrollingFeature: TableFeature; //# sourceMappingURL=VirtualScrolling.d.ts.map