import * as H from 'history'; import * as React from 'react'; import * as GQL from '../../backend/graphqlschema'; interface SearchResultsProps { user: GQL.IUser | null; location: H.Location; history: H.History; isLightTheme: boolean; navbarSearchQuery: string; onHelpPopoverToggle: () => void; } interface SearchScope { name?: string; value: string; } interface SearchResultsState { /** The loaded search results, error or undefined while loading */ resultsOrError?: GQL.ISearchResults; allExpanded: boolean; uiLimit: number; showSavedQueryModal: boolean; didSaveQuery: boolean; /** All search scopes from configuration */ scopes?: SearchScope[]; } export declare class SearchResults extends React.Component { state: SearchResultsState; /** Emits on componentDidUpdate with the new props */ private componentUpdates; private subscriptions; componentDidMount(): void; componentDidUpdate(prevProps: SearchResultsProps): void; componentWillUnmount(): void; private showSaveQueryModal; private onDidCreateSavedQuery; private onModalClose; render(): JSX.Element | null; /** Combines dynamic filters and search scopes into a list de-duplicated by value. */ private getFilters; private showMoreResults; private calculateCount; private onExpandAllResultsToggle; private onDynamicFilterClicked; } export {}; //# sourceMappingURL=SearchResults.d.ts.map