import { Observable } from 'rxjs';
import { SearchOptions } from '.';
import * as GQL from '../backend/graphqlschema';
export declare function search(options: SearchOptions): Observable<GQL.ISearchResults>;
export declare function fetchSearchResultStats(options: SearchOptions): Observable<GQL.ISearchResultsStats>;
export declare function fetchSuggestions(options: SearchOptions): Observable<GQL.SearchSuggestion>;
export declare function fetchSearchScopes(): Observable<GQL.ISearchScope[]>;
export declare function fetchReposByQuery(query: string): Observable<{
    name: string;
    url: string;
}[]>;
export declare function observeSavedQueries(): Observable<GQL.ISavedQuery[]>;
export declare function createSavedQuery(subject: GQL.ConfigurationSubject | GQL.IConfigurationSubject | {
    id: GQL.ID;
}, description: string, query: string, showOnHomepage: boolean, notify: boolean, notifySlack: boolean, disableSubscriptionNotifications?: boolean): Observable<GQL.ISavedQuery>;
export declare function updateSavedQuery(subject: GQL.ConfigurationSubject | GQL.IConfigurationSubject | {
    id: GQL.ID;
}, id: GQL.ID, description: string, query: string, showOnHomepage: boolean, notify: boolean, notifySlack: boolean): Observable<GQL.ISavedQuery>;
export declare function deleteSavedQuery(subject: GQL.ConfigurationSubject | GQL.IConfigurationSubject | {
    id: GQL.ID;
}, id: GQL.ID, disableSubscriptionNotifications?: boolean): Observable<void>;
//# sourceMappingURL=backend.d.ts.map