import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { R as ReadOnlyVariantSearch, S as SearchVariantsOptions, a as SearchVariantsResponse, b as ReadOnlyVariantQuery, Q as QueryVariantsOptions, t as typedQueryVariants, V as VariantsQueryBuilder } from './stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-D1JR_ypM.js'; export { bD as AccountInfo, by as ActionEvent, b8 as AddressLocation, ay as Aggregation, aL as AggregationData, bh as AggregationDateHistogramAggregation, az as AggregationKindOneOf, bk as AggregationNestedAggregation, bf as AggregationRangeAggregation, b2 as AggregationResults, b3 as AggregationResultsResultOneOf, aS as AggregationResultsScalarResult, bg as AggregationScalarAggregation, A as AggregationType, bY as AggregationTypeWithLiterals, bd as AggregationValueAggregation, be as AggregationValueAggregationOptionsOneOf, a8 as Brand, b9 as CommonAggregation, ba as CommonAggregationKindOneOf, s as CommonAggregationType, c5 as CommonAggregationTypeWithLiterals, c8 as CommonQueryWithEntityContext, p as CommonScalarType, c2 as CommonScalarTypeWithLiterals, bo as CommonSearchDetails, c9 as CommonSearchWithEntityContext, C as CommonSortOrder, b_ as CommonSortOrderWithLiterals, b7 as CommonSorting, ar as CursorPaging, at as CursorPagingMetadata, ao as CursorQuery, ap as CursorQueryPagingMethodOneOf, aw as CursorSearch, ax as CursorSearchPagingMethodOneOf, au as Cursors, aG as DateHistogramAggregation, r as DateHistogramAggregationInterval, c4 as DateHistogramAggregationIntervalWithLiterals, a_ as DateHistogramResult, b0 as DateHistogramResults, ah as DeleteByFilterOperation, ag as DeleteByIdsOperation, b4 as DeprecatedSearchVariantsWithOffsetRequest, bq as DeprecatedSearchVariantsWithOffsetResponse, Z as Dimensions, D as DimensionsUnit, bK as DimensionsUnitWithLiterals, ab as DiscountInfo, bs as DomainEvent, bt as DomainEventBodyOneOf, bz as Empty, bu as EntityCreatedEvent, bx as EntityDeletedEvent, bw as EntityUpdatedEvent, F as FileType, bL as FileTypeWithLiterals, E as FixedMonetaryAmount, bl as GeotileGridAggregation, bm as GroupByAggregation, bn as GroupByAggregationKindOneOf, a$ as GroupByValueResults, bB as IdentificationData, bC as IdentificationDataIdOneOf, aB as IncludeMissingValuesOptions, ae as InternalDocument, ai as InternalDocumentUpdateByFilterOperation, af as InternalDocumentUpdateOperation, a9 as InternalMetadata, I as InternalRowState, bO as InternalRowStateWithLiterals, aj as InternalUpdateExistingOperation, k as Interval, bX as IntervalWithLiterals, a3 as InventoryStatus, aa as LocationListing, c as MeasurementUnit, bJ as MeasurementUnitWithLiterals, M as MediaType, bI as MediaTypeWithLiterals, bA as MessageEnvelope, i as MissingValues, bU as MissingValuesWithLiterals, l as Mode, bZ as ModeWithLiterals, aJ as NestedAggregation, aH as NestedAggregationItem, aI as NestedAggregationItemKindOneOf, bi as NestedAggregationNestedAggregationItem, bj as NestedAggregationNestedAggregationItemKindOneOf, q as NestedAggregationNestedAggregationType, c3 as NestedAggregationNestedAggregationTypeWithLiterals, aO as NestedAggregationResults, aP as NestedAggregationResultsResultOneOf, N as NestedAggregationType, bW as NestedAggregationTypeWithLiterals, aX as NestedResultValue, aY as NestedResultValueResultOneOf, b1 as NestedResults, aT as NestedValueAggregationResult, O as OptionChoice, y as OptionChoiceIds, z as OptionChoiceNames, br as PagingMetadata, a6 as PhysicalProperties, b5 as PlatformOffsetSearch, b6 as PlatformOffsetSearchPagingMethodOneOf, bp as PlatformPaging, B as PriceInfo, X as PricePerUnit, Y as PricePerUnitSettings, a4 as ProductFields, a5 as ProductFieldsTypedPropertiesOneOf, H as ProductMedia, K as ProductMediaMediaOneOf, J as ProductMediaSetByOneOf, P as ProductType, bM as ProductTypeWithLiterals, an as QueryVariantsRequest, as as QueryVariantsResponse, aE as RangeAggregation, bb as RangeAggregationRangeBucket, aN as RangeAggregationResult, aA as RangeBucket, aV as RangeResult, aR as RangeResults, w as ReadOnlyVariant, bF as ReadOnlyVariantQuerySpec, bG as ReadOnlyVariantSearchSpec, x as ReadOnlyVariantTypedPropertiesOneOf, f as RequestedFields, bR as RequestedFieldsWithLiterals, bv as RestoreInfo, aZ as Results, G as RevenueDetails, aF as ScalarAggregation, aW as ScalarResult, j as ScalarType, bV as ScalarTypeWithLiterals, aK as SearchDetails, u as SearchDetailsMode, c6 as SearchDetailsModeWithLiterals, av as SearchVariantsRequest, $ as SecuredMedia, h as SortDirection, bT as SortDirectionWithLiterals, e as SortOrder, bQ as SortOrderWithLiterals, g as SortType, bS as SortTypeWithLiterals, aq as Sorting, a1 as SubscriptionPrice, a2 as SubscriptionPricePerUnit, a0 as SubscriptionPricesInfo, T as Thumbnail, ac as UpdateInternalDocumentsEvent, ad as UpdateInternalDocumentsEventOperationOneOf, aC as ValueAggregation, bc as ValueAggregationIncludeMissingValuesOptions, o as ValueAggregationMissingValues, c1 as ValueAggregationMissingValuesWithLiterals, aD as ValueAggregationOptionsOneOf, aM as ValueAggregationResult, n as ValueAggregationSortDirection, c0 as ValueAggregationSortDirectionWithLiterals, m as ValueAggregationSortType, b$ as ValueAggregationSortTypeWithLiterals, aU as ValueResult, aQ as ValueResults, _ as VariantDigitalProperties, U as VariantPhysicalProperties, bE as VariantsQueryResult, al as VersionedDeleteByIdsOperation, am as VersionedDocumentId, ak as VersionedDocumentUpdateOperation, d as VersioningMode, bP as VersioningModeWithLiterals, L as VideoResolution, v as WebhookIdentityType, c7 as WebhookIdentityTypeWithLiterals, a7 as WeightMeasurementUnitInfo, W as WeightUnit, bN as WeightUnitWithLiterals, bH as utils } from './stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-D1JR_ypM.js'; declare function searchVariants$1(httpClient: HttpClient): SearchVariantsSignature; interface SearchVariantsSignature { /** * Search product variants using free-text search with advanced query capabilities. * * Use this endpoint for complex queries that include free-text search, aggregations, * or when you need faceted search results. For simple filtering, use Query Variants instead. * * To learn about working with _Search_ methods, see * [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) * and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging). * * Learn more about the differences between [_Query_ and _Search_](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-search-query-and-list-methods) methods. * * When `search.sort` is empty (first request of a cursor search), results are ordered by * `productData.updatedDate` (descending), then `productData.productId` (ascending), then `variantId` (ascending). * * > **Note:** Non-visible variants, and variants related to non-visible products are filtered from results if you don't have permissions to read hidden products. * @param - WQL expression for searching variants. When `sort` is empty on the first cursor page, see the * `SearchVariants` RPC documentation for the default result order. */ (search: ReadOnlyVariantSearch, options?: SearchVariantsOptions): Promise>; } declare function customQueryVariants(httpClient: HttpClient): { (query: ReadOnlyVariantQuery, options?: QueryVariantsOptions): ReturnType; (options?: QueryVariantsOptions): VariantsQueryBuilder; }; declare const searchVariants: MaybeContext & typeof searchVariants$1>; declare const queryVariants: MaybeContext & typeof customQueryVariants>; export { QueryVariantsOptions, ReadOnlyVariantQuery, ReadOnlyVariantSearch, SearchVariantsOptions, SearchVariantsResponse, VariantsQueryBuilder, queryVariants, searchVariants };