import * as React from 'react';
import type { Flow } from 'flow-to-typescript-codemod';
import type { GenericObject } from '../Table';
type ClassNames = Readonly<{
    wrapper?: string;
}>;
export type InfinitePaginationProps = {
    items: Array<GenericObject>;
    width: string;
    threshold?: number;
    classNames?: ClassNames;
    renderItem: (item: GenericObject, index: number) => React.ReactNode;
    getItemKey?: (item: GenericObject, index: number) => string | number;
    hasNextPage: boolean;
    loadMoreItems: () => Promise<void>;
} & ({
    itemSize: (index: number) => number;
    isVariableSizeList: true;
} | {
    itemSize: number;
    isVariableSizeList?: false;
});
export declare const InfinitePagination: Flow.AbstractComponent<InfinitePaginationProps, HTMLDivElement>;
export {};
//# sourceMappingURL=InfinitePagination.d.ts.map