import { HttpClient } from '@wix/sdk-types'; import { DocumentType, Search, SearchOptions, SearchResponse, SearchResponseNonNullableFields } from './search-platformized-v1-site-document-wix-site-search.universal'; export declare const __metadata: { PACKAGE_NAME: string; }; export declare function search(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. * @param - Document type to search in. */ (search: Search, documentType: DocumentType, options?: SearchOptions | undefined): Promise; } export { Aggregation, AggregationData, AggregationKindOneOf, AggregationResults, AggregationResultsResultOneOf, AggregationResultsScalarResult, AggregationType, DocumentType, NestedAggregation, NestedAggregationItem, NestedAggregationItemKindOneOf, NestedAggregationType, NestedResultValue, NestedResultValueResultOneOf, NestedResults, Paging, PagingMetadata, Results, ScalarAggregation, ScalarResult, ScalarType, Search, SearchDetails, SearchOptions, SearchPagingMethodOneOf, SearchRequest, SearchResponse, SearchResponseNonNullableFields, SearchResponsePagingOneOf, SiteDocument, SortOrder, Sorting, ValueAggregation, ValueAggregationResult, ValueResult, ValueResults, } from './search-platformized-v1-site-document-wix-site-search.universal';