import * as React from 'react'; interface Props { itemsToShow: number; items: JSX.Element[]; /** * Called when the user scrolled close to the bottom of the list. * The parent component should react to this by increasing `itemsToShow`. */ onShowMoreItems: () => void; /** * Notifies the parent component when an item either has become or is not longer visible. */ onVisibilityChange?: (isVisible: boolean, index: number) => void; onRef?: (ref: HTMLElement | null) => void; /** * Element to use as a viewport when checking visibility. If undefined, * the browser window will be used as a viewport. */ containment?: HTMLElement; className?: string; } interface State { } export declare class VirtualList extends React.PureComponent { onChangeVisibility: (isVisible: boolean, i: number) => void; render(): JSX.Element | null; } export {}; //# sourceMappingURL=VirtualList.d.ts.map