import { g as Search, 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, 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'; import { NonNullablePaths } from '@wix/sdk-types'; /** @hidden */ type SiteDocumentSearch = {}; /** * 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 - Search query and aggregation information. * @public * @documentationMaturity preview * @requiredField options.documentType * @requiredField search * @permissionId SEARCH.SITE_DOCUMENT_READ * @applicableIdentity APP * @fqn wix.search.platformized.v1.SiteSearchPlatformizedService.Search */ declare function search(search: Search, options: NonNullablePaths): Promise; export { Search, SearchOptions, SearchResponse, type SiteDocumentSearch, search };