import { type Range } from '@tanstack/react-virtual'; /** * Calculates the left distance for the left pinned prefix sticky columns. * @param columnIndex - the index of the pinned column. * @param pinnedColumns - the list of the pinned columns IDs. * @param rowDensity - the density of the rows. * @param isRowThresholdEnabled - determines whether thresholds for rows are enabled. * @returns The left distance in pixels. */ export declare function calculateLeftPinnedPosition(columnIndex: number, pinnedColumns: string[] | undefined, rowDensity: 'comfortable' | 'condensed' | 'default', isRowThresholdEnabled?: boolean): string | undefined; /** * Adapts the visible range indexes to include pinned columns. * * This function is passed to the `rangeExtractor` of TanStack Virtualization. * It modifies the visible range indexes to ensure that pinned columns are preserved * within the range of visible columns. * * @param range - the array of indexes representing the initial visible range. * @param pinnedLeftIndexes - the list of indexes pinned to the left. * @param pinnedRightIndexes - the list of indexes pinned to the right. * @returns An array of indexes with pinned columns included in the visible range. */ export declare function addPinnedColumnsToVisibleRange(range: Range, pinnedLeftIndexes: number[], pinnedRightIndexes: number[]): number[];