/** * Mocks the @tanstack/react-virtual library for testing environments. * * This function creates a mock implementation of the useVirtualizer hook from * the @tanstack/react-virtual library, which is used for efficiently rendering * large lists and grids. The mock returns a simplified version that generates * virtual items with deterministic sizes and provides all expected methods. * * Each virtual item has: * - A consistent height (40px) * - Index and key properties matching the item's position * - Empty implementation of the measureRef function * * This allows for testing components that use virtualized lists without requiring * actual DOM measurements or complex setup. * * @example * // In your jest setup file * import { setupTanstackReactVirtual } from '@trackunit/react-test-setup'; * * setupTanstackReactVirtual(); */ export declare const setupTanstackReactVirtual: () => void;