import { Header } from "@tanstack/react-table"; /** * The `useCellsOffset` hook calculates column offsets for pinned columns ("left" or "right") in a table. * * @template TData The type of the row data in the table. * @param {Header[][]} headerGroups - Array of table header groups. * @param {string | null} draggingColumnId - The ID of the column currently being dragged. If null, no dragging is occurring. * @returns {Array} Returns an array of objects containing `leftOffsets` and `rightOffsets` for each header group. */ export declare const useCellsOffset: (headerGroups: Array>>, draggingColumnId: string | null) => { leftOffsets: Record; rightOffsets: Record; }[];