import React from "react";
import { Branch, Commit, CommitNode, Diff, GraphStyle } from "../../types";
type Props = {
    commits: Commit[];
    branchHeads: Branch[];
    loadMore: () => void;
    hasMore: boolean;
    parentID?: string;
    graphStyle?: GraphStyle;
    dateFormatFn?: (d: string | number | Date) => string;
    currentBranch?: string;
    fullSha?: boolean;
    onCommitClick?: (commit: CommitNode) => void;
    getDiff?: (base: string, head: string) => Promise<Diff | undefined>;
};
export default function WithInfiniteScroll(props: Props): React.JSX.Element;
export {};
