import React from 'react'; export type VirtualizedRenderItem = (item: T, index: number) => React.ReactNode; export type VirtualizedListComponentProp = { readonly items: readonly T[]; readonly height: number; readonly renderItem: VirtualizedRenderItem; readonly estimatedItemHeight?: number; readonly itemHeight?: number; readonly overscan?: number; readonly scrollToIndex?: number | null; readonly scrollToAlign?: ScrollAlign; readonly onEndReached?: () => void; }; export type ScrollAlign = 'start' | 'center' | 'end' | 'auto'; export type VirtualizedListRef = { scrollToIndex: (index: number, align?: ScrollAlign) => void; getTopVisibleIndex: () => number; }; declare const VirtualizedListComponent: React.ForwardRefExoticComponent & React.RefAttributes>; export default VirtualizedListComponent;