import React from 'react';
import { useVirtualizer } from '@tanstack/react-virtual';
type VirtualProps = {
    /** This is the number of rows in the dataset */
    count: number;
    /** Children is a function that has access to the useVirtualizer hook value and the ref that needs to be wrapped around the virtualized content. */
    children: ({ virtualizer, virtualizedParentRef, }: {
        virtualizer: ReturnType<typeof useVirtualizer>;
        virtualizedParentRef: React.MutableRefObject<null>;
    }) => JSX.Element;
    /** Optionally pass in more react-virtual props for the useVirtualizer */
    virtualizerProps?: Parameters<typeof useVirtualizer>[0];
};
declare const Virtual: {
    ({ count, children, virtualizerProps, }: VirtualProps): JSX.Element;
    List: ({ virtualizer, children, }: VirtualListProps) => JSX.Element;
};
type VirtualListProps = {
    virtualizer: ReturnType<typeof useVirtualizer>;
    children: ({ index }: {
        index: number;
    }) => JSX.Element;
};
export { Virtual };
