import { Hoverifier } from '@sourcegraph/codeintellify'; import * as H from 'history'; import * as React from 'react'; import * as GQL from '../../backend/graphqlschema'; import { ExtensionsControllerProps, ExtensionsProps } from '../../extensions/ExtensionsClientCommonContext'; export interface FileDiffNodeProps extends ExtensionsProps, ExtensionsControllerProps { node: GQL.IFileDiff; /** The base repository and revision. */ base: { repoPath: string; repoID: GQL.ID; rev: string; commitID: string; }; /** The head repository and revision. */ head: { repoPath: string; repoID: GQL.ID; rev: string; commitID: string; }; lineNumbers: boolean; className?: string; location: H.Location; history: H.History; hoverifier: Hoverifier; } interface State { expanded: boolean; } /** A file diff. */ export declare class FileDiffNode extends React.PureComponent { state: State; render(): JSX.Element | null; private toggleExpand; } export {}; //# sourceMappingURL=FileDiffNode.d.ts.map