import React from 'react'; import { FlintVirtualScroll as FlintVirtualScrollElement } from '@getufy/flint-ui/virtual-scroll/flint-virtual-scroll'; /** * A generic virtual scrolling container [ยง38.1]. * * @slot (default) - Fallback content shown when items is empty. */ export interface FlintVirtualScrollProps extends React.HTMLAttributes { /** * Array of data items to render. * Type: `T[]` */ items?: FlintVirtualScrollElement['items']; /** Fixed height of each item in pixels. Used for position calculations. */ itemHeight?: number; /** Number of extra items to render above and below the visible area. */ overscan?: number; /** * Render function for a single item. Receives the item and its index. * Type: `RenderItemFn` */ renderItem?: FlintVirtualScrollElement['renderItem']; } export declare const FlintVirtualScroll: React.ForwardRefExoticComponent>;