import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { S as SiteDocumentSearch, a as SearchOptions, b as SearchResponse } from './search-platformized-v1-site-document-wix-site-search.universal-DztDYrO4.js'; export { j as Aggregation, r as AggregationData, k as AggregationKindOneOf, B as AggregationResults, C as AggregationResultsResultOneOf, u as AggregationResultsScalarResult, A as AggregationType, Z as AggregationTypeWithLiterals, Q as AutocompleteOptions, F as AutocompleteRequest, G as AutocompleteResponse, H as AutocompleteResponseValue, $ as CommonSearchWithEntityContext, D as DocumentType, _ as DocumentTypeWithLiterals, o as NestedAggregation, m as NestedAggregationItem, n as NestedAggregationItemKindOneOf, N as NestedAggregationType, Y as NestedAggregationTypeWithLiterals, x as NestedResultValue, y as NestedResultValueResultOneOf, z as NestedResults, P as Paging, E as PagingMetadata, R as Results, l as ScalarAggregation, w as ScalarResult, d as ScalarType, X as ScalarTypeWithLiterals, g as Search, p as SearchDetails, h as SearchPagingMethodOneOf, f as SearchRequest, q as SearchResponsePagingOneOf, e as SiteDocument, O as SiteDocumentSearchSpec, c as SortOrder, W as SortOrderWithLiterals, i as Sorting, J as Suggest, L as SuggestDetails, T as SuggestOptions, K as SuggestPagingMethodOneOf, I as SuggestRequest, M as SuggestResponse, V as ValueAggregation, s as ValueAggregationResult, v as ValueResult, t as ValueResults, U as utils } from './search-platformized-v1-site-document-wix-site-search.universal-DztDYrO4.js'; declare function search$1(httpClient: HttpClient): SearchSignature; interface SearchSignature { /** * Retrieves a list of site documents that match the provided search query and optionally performs aggregations on the data queried. * * The `search()` API supports the document types listed in the [Introduction](https://dev.wix.com/docs/sdk/backend-modules/search/wix-site-search/introduction), each with its own schema. These schemas define the fields available for filtering, sorting, and free-text searching. * * To learn more about working with the search query, see [API Query Language](https://dev.wix.com/docs/sdk/articles/working-with-the-sdk/api-query-language). * @param - Search query and aggregation information. */ (search: SiteDocumentSearch, options?: NonNullablePaths): Promise>; } declare const search: MaybeContext & typeof search$1>; export { SearchOptions, SearchResponse, SiteDocumentSearch, search };