import type { SearchSuggestions, Entity, FieldsParam, Schema, SearchSuggestionsMutable } from "../types"; import { ResourceApi } from "./common"; type SearchSuggestionsSchema = Schema; type SearchSuggestionsEntity = Entity; /** * Lets you get suggestions for the currently entered search query. * https://www.jetbrains.com/help/youtrack/devportal/resource-api-search-assist.html */ export declare class SearchApi extends ResourceApi { /** * Get search query suggestions for the currently entered search query. * @param query - The current search query for which suggestions are requested. * @param fields - A list of SearchSuggestions attributes that should be returned in the response. If no field is specified, only the entityId is returned. * @returns Search query suggestions. */ getSearchSuggestions(body: Partial, params?: FieldsParam): Promise>; } export {};