import * as React from 'react'; import { Position, Range } from 'vscode-languageserver-types'; import * as GQL from '../../backend/graphqlschema'; import { ErrorLike } from '../../util/errors'; interface Props { repo?: GQL.IRepository | null; rev: string; filePath?: string; position?: Position; range?: Range; externalLinks?: GQL.IExternalLink[]; } interface State { /** * The external links for the current file/dir, or undefined while loading, null while not * needed (because not viewing a file/dir), or an error. */ fileExternalLinksOrError?: GQL.IExternalLink[] | null | ErrorLike; } /** * A repository header action that goes to the corresponding URL on an external code host. */ export declare class GoToCodeHostAction extends React.PureComponent { state: State; private componentUpdates; private subscriptions; componentDidMount(): void; componentWillReceiveProps(props: Props): void; componentWillUnmount(): void; render(): JSX.Element | null; } export {}; //# sourceMappingURL=GoToCodeHostAction.d.ts.map