import * as H from 'history';
import * as React from 'react';
import * as GQL from '../../backend/graphqlschema';
import { ErrorLike } from '../../util/errors';
interface SearchResultsListProps {
    isLightTheme: boolean;
    location: H.Location;
    user: GQL.IUser | null;
    resultsOrError?: GQL.ISearchResults | ErrorLike;
    uiLimit: number;
    onShowMoreResultsClick: () => void;
    allExpanded: boolean;
    onExpandAllResultsToggle: () => void;
    showSavedQueryModal: boolean;
    onSavedQueryModalClose: () => void;
    onDidCreateSavedQuery: () => void;
    onSaveQueryClick: () => void;
    didSave: boolean;
    onHelpPopoverToggle: () => void;
}
export declare class SearchResultsListOld extends React.PureComponent<SearchResultsListProps, {}> {
    render(): React.ReactNode;
    /**
     * Renders the given recommendations in a list if multiple, otherwise returns the first one or undefined
     */
    private renderRecommendations;
    private renderResult;
    private logEvent;
}
export {};
//# sourceMappingURL=SearchResultsListOld.d.ts.map