import { Hoverifier } from '@sourcegraph/codeintellify';
import * as React from 'react';
import { RouteComponentProps } from 'react-router';
import { Observable } from 'rxjs';
import * as GQL from '../../backend/graphqlschema';
import { ExtensionsDocumentsProps } from '../../extensions/environment/ExtensionsEnvironment';
import { ExtensionsControllerProps, ExtensionsProps } from '../../extensions/ExtensionsClientCommonContext';
import { RepositoryCompareAreaPageProps } from './RepositoryCompareArea';
export declare function queryRepositoryComparisonFileDiffs(args: {
    repo: GQL.ID;
    base: string | null;
    head: string | null;
    first?: number;
}): Observable<GQL.IFileDiffConnection>;
interface RepositoryCompareDiffPageProps extends RepositoryCompareAreaPageProps, RouteComponentProps<{}>, ExtensionsProps, ExtensionsControllerProps, ExtensionsDocumentsProps {
    /** The base of the comparison. */
    base: {
        repoPath: string;
        repoID: GQL.ID;
        rev: string | null;
        commitID: string;
    };
    /** The head of the comparison. */
    head: {
        repoPath: string;
        repoID: GQL.ID;
        rev: string | null;
        commitID: string;
    };
    hoverifier: Hoverifier;
}
/** A page with the file diffs in the comparison. */
export declare class RepositoryCompareDiffPage extends React.PureComponent<RepositoryCompareDiffPageProps> {
    render(): JSX.Element | null;
    private queryDiffs;
}
export {};
//# sourceMappingURL=RepositoryCompareDiffPage.d.ts.map