import { UseListVirtualizerProps } from './types';
/**
 * Hook that wraps TanStack Virtual's `useVirtualizer` for the ListView.
 *
 * Only rows visible in the viewport (plus `overscan`) are mounted in the DOM.
 * Row heights are measured dynamically via `measureElement` + `ResizeObserver`,
 * so cards can have any height without manual calculation.
 * @returns
 * - `virtualizer` — the virtualizer instance (use `virtualizer.measureElement` as ref on each row,
 *    and `virtualizer.scrollToIndex` to programmatically scroll to a row)
 * - `virtualItems` — array of items to render (each has `index`, `start` offset, and `size`)
 * - `totalSize` — total scrollable height in pixels (set on the virtual container)
 */
export declare function useListVirtualizer({ count, scrollElementRef, overscan, estimateSize, }: UseListVirtualizerProps): {
    virtualizer: import('@tanstack/virtual-core').Virtualizer<HTMLDivElement, Element>;
    virtualItems: import('@tanstack/virtual-core').VirtualItem[];
    totalSize: number;
};
//# sourceMappingURL=useListVirtualizer.d.ts.map