import React, { MutableRefObject } from 'react';
import { VariableSizeList as List } from 'react-window';
type Props<T> = {
    width: number;
    height: number;
    data: T[];
    defaultItemSize: number;
    itemKey?: (index: number, data: T[]) => string;
    children: ({ data, index }: {
        data: T[];
        index: number;
    }) => React.ReactNode;
    showNotMeasuredItems?: boolean;
    listRef?: MutableRefObject<List>;
};
declare const AutoSizeList: <T>({ width, height, defaultItemSize, data, children, itemKey, showNotMeasuredItems, listRef: listRefProp }: Props<T>) => React.JSX.Element;
declare const _default: typeof AutoSizeList;
export default _default;
