import * as H from 'history'; import * as React from 'react'; /** * A repository header action that toggles the visibility of the history panel. */ export declare class ToggleHistoryPanel extends React.PureComponent<{ location: H.Location; history: H.History; }> { private toggles; private subscriptions; /** * Reports the current visibility (derived from the location). */ static isVisible(location: H.Location): boolean; /** * Returns the location object (that can be passed to H.History's push/replace methods) that sets visibility to * the given value. */ private static locationWithVisibility; componentDidMount(): void; componentWillUnmount(): void; render(): JSX.Element | null; private onClick; } //# sourceMappingURL=ToggleHistoryPanel.d.ts.map