import { l as Search, a as SearchOptions, b as SearchResponse } from './search-platformized-v1-site-document-wix-site-search.universal-TdVMLStL.js'; export { o as Aggregation, w as AggregationData, p as AggregationKindOneOf, H as AggregationResults, I as AggregationResultsResultOneOf, z as AggregationResultsScalarResult, h as AggregationType, _ as AggregationTypeWithLiterals, A as AutocompleteOptions, K as AutocompleteRequest, c as AutocompleteResponse, L as AutocompleteResponseValue, $ as CommonSearchWithEntityContext, i as DocumentType, D as DocumentTypeWithLiterals, t as NestedAggregation, r as NestedAggregationItem, s as NestedAggregationItemKindOneOf, N as NestedAggregationType, Z as NestedAggregationTypeWithLiterals, E as NestedResultValue, F as NestedResultValueResultOneOf, G as NestedResults, P as Paging, J as PagingMetadata, R as Results, q as ScalarAggregation, C as ScalarResult, g as ScalarType, Y as ScalarTypeWithLiterals, u as SearchDetails, m as SearchPagingMethodOneOf, k as SearchRequest, v as SearchResponsePagingOneOf, j as SiteDocument, U as SiteDocumentSearchSpec, f as SortOrder, X as SortOrderWithLiterals, n as Sorting, O as Suggest, T as SuggestDetails, d as SuggestOptions, Q as SuggestPagingMethodOneOf, M as SuggestRequest, e as SuggestResponse, V as ValueAggregation, x as ValueAggregationResult, B as ValueResult, y as ValueResults, a0 as autocomplete, a1 as suggest, W as utils } from './search-platformized-v1-site-document-wix-site-search.universal-TdVMLStL.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 };