import * as H from 'history'; import * as React from 'react'; import * as GQL from '../backend/graphqlschema'; import { ConfigurationCascadeProps, ExtensionsControllerProps, ExtensionsProps } from '../extensions/ExtensionsClientCommonContext'; import { ErrorLike } from '../util/errors'; interface Props extends ConfigurationCascadeProps, ExtensionsControllerProps, ExtensionsProps { repoPath: string; repoID: GQL.ID; repoDescription: string; filePath: string; commitID: string; rev: string; isLightTheme: boolean; onHelpPopoverToggle: () => void; location: H.Location; history: H.History; } interface State { /** This tree, or an error. Undefined while loading. */ treeOrError?: GQL.IGitTree | ErrorLike; /** * The value of the search query input field. */ query: string; } export declare class TreePage extends React.PureComponent { state: State; private componentUpdates; private subscriptions; private logViewEvent; componentDidMount(): void; componentWillReceiveProps(newProps: Props): void; componentWillUnmount(): void; private getQueryPrefix; render(): JSX.Element | null; private onQueryChange; private onSubmit; private getPageTitle; private queryCommits; } export {}; //# sourceMappingURL=TreePage.d.ts.map