/**
 * VirtualizedList Component
 * Only renders items visible in the viewport for performance.
 */
import type React from 'react';
export declare const SCROLL_TO_ITEM_END: number;
type VirtualizedListProps<T> = {
    data: T[];
    renderItem: (info: {
        item: T;
        index: number;
    }) => React.ReactElement;
    estimatedItemHeight: (index: number) => number;
    keyExtractor: (item: T, index: number) => string;
    initialScrollIndex?: number;
    initialScrollOffsetInIndex?: number;
    scrollbarThumbColor?: string;
};
export type VirtualizedListRef<T> = {
    scrollBy: (delta: number) => void;
    scrollTo: (offset: number) => void;
    scrollToEnd: () => void;
    scrollToIndex: (params: {
        index: number;
        viewOffset?: number;
        viewPosition?: number;
    }) => void;
    scrollToItem: (params: {
        item: T;
        viewOffset?: number;
        viewPosition?: number;
    }) => void;
    getScrollIndex: () => number;
    getScrollState: () => {
        scrollTop: number;
        scrollHeight: number;
        innerHeight: number;
    };
};
export declare const VirtualizedList: <T>(props: VirtualizedListProps<T> & {
    ref?: React.Ref<VirtualizedListRef<T>>;
}) => React.ReactElement;
export {};
//# sourceMappingURL=VirtualizedList.d.ts.map