import { Hoverifier } from '@sourcegraph/codeintellify';
import * as React from 'react';
import { RouteComponentProps } from 'react-router';
import * as GQL from '../../backend/graphqlschema';
import { ExtensionsDocumentsProps } from '../../extensions/environment/ExtensionsEnvironment';
import { ExtensionsControllerProps, ExtensionsProps } from '../../extensions/ExtensionsClientCommonContext';
import { ErrorLike } from '../../util/errors';
import { RepositoryCompareAreaPageProps } from './RepositoryCompareArea';
interface Props extends RepositoryCompareAreaPageProps, RouteComponentProps<{}>, ExtensionsProps, ExtensionsControllerProps, ExtensionsDocumentsProps {
    /** The base of the comparison. */
    base: {
        repoPath: string;
        repoID: GQL.ID;
        rev?: string | null;
    };
    /** The head of the comparison. */
    head: {
        repoPath: string;
        repoID: GQL.ID;
        rev?: string | null;
    };
    hoverifier: Hoverifier;
}
interface State {
    /** The comparison's range, null when no comparison is requested, undefined while loading, or an error. */
    rangeOrError?: null | GQL.IGitRevisionRange | ErrorLike;
}
/** A page with an overview of the comparison. */
export declare class RepositoryCompareOverviewPage extends React.PureComponent<Props, State> {
    state: State;
    private componentUpdates;
    private subscriptions;
    componentDidMount(): void;
    componentWillReceiveProps(nextProps: Props): void;
    componentWillUnmount(): void;
    render(): JSX.Element | null;
}
export {};
//# sourceMappingURL=RepositoryCompareOverviewPage.d.ts.map