import * as React from 'react';
import { RepositoryCompareAreaPageProps } from './RepositoryCompareArea';
interface Props extends RepositoryCompareAreaPageProps {
    className: string;
    /** Called when the user updates the comparison spec and submits the form. */
    onUpdateComparisonSpec: (newBaseSpec: string, newHeadSpec: string) => void;
}
interface State {
    /** The (possibly unsubmitted) value of the input field containing the comparison base spec. */
    comparisonBaseSpec: string;
    /** The (possibly unsubmitted) value of the input field containing the comparison head spec. */
    comparisonHeadSpec: string;
}
/**
 * Header for the repository compare area.
 */
export declare class RepositoryCompareHeader extends React.PureComponent<Props, State> {
    private static BASE_INPUT_ID;
    private static HEAD_INPUT_ID;
    state: State;
    render(): JSX.Element | null;
    private onChange;
    private onSubmit;
    private onCancel;
}
export {};
//# sourceMappingURL=RepositoryCompareHeader.d.ts.map