import * as H from 'history';
import * as React from 'react';
/**
 * A repository header action that replaces the revision in the URL with the canonical 40-character
 * Git commit SHA.
 */
export declare class GoToPermalinkAction extends React.PureComponent<{
    /**
     * The current (possibly undefined or non-full-SHA) Git revision.
     */
    rev?: string;
    /**
     * The commit SHA for the revision in the current location (URL).
     */
    commitID: string;
    location: H.Location;
    history: H.History;
}> {
    private subscriptions;
    componentDidMount(): void;
    componentWillUnmount(): void;
    render(): JSX.Element | null;
    private readonly permalinkURL;
}
//# sourceMappingURL=GoToPermalinkAction.d.ts.map