import { RequestOptionsFactory } from '@wix/sdk-types'; /** * Executes a regular search query. * If you are unsure, this is likely the search method you want to used. */ export declare function search(payload: object): RequestOptionsFactory; /** Searches in multiple document types at once. */ export declare function federatedSearch(payload: object): RequestOptionsFactory; /** * Executes search query to fetch suggested items. Unlike search query suggest will match * partial phrases (for example "blu" will match documents containing "blue", "blues" and "blunt"). * Phrase needs to be at least 3 symbols long. Suggestions can also perform optimisations in search * results and generally do not guarantee the same level of quality as regular Search endpoint. */ export declare function suggest(payload: object): RequestOptionsFactory; /** Searches for suggestions in multiple document types at once. */ export declare function federatedSuggest(payload: object): RequestOptionsFactory; /** * Fetches documents similar to one single document. * This is typically used to implement "related to" scenarios (for example to fetch related store products when * consumer is already viewing one). */ export declare function related(payload: object): RequestOptionsFactory; /** Provides phrase completion. For example "blu" could return "blue", "blues" and "blunt" as candidate phrases. This operation is resource heavy at index time and is reserved for special use cases. */ export declare function autocomplete(payload: object): RequestOptionsFactory; /** Provides phrase completion from multiple document types at once */ export declare function federatedAutocomplete(payload: object): RequestOptionsFactory; /** Returns trending documents for given document types */ export declare function trending(payload: object): RequestOptionsFactory;