import { RefObject } from 'react';
import { Table } from '@tanstack/react-table';
import { TABLE_SIZE } from '../types';
export declare function useVirtual<TData>(tableRef: RefObject<HTMLDivElement>, tableModel: Table<TData>, size: TABLE_SIZE): {
    paddingTop: number;
    paddingBottom: number;
    virtualRows: import("@tanstack/virtual-core").VirtualItem[];
    measureElement: (node: Element | null | undefined) => void;
};
