ProductSearchResponse reference
This article provides reference material about ProductSearchResponse record.

Properties
Results
The found product results.
TotalCount
The total count of found products.
Facets
The calculated product facets.
SortFields
The list of sort fields which can be applied for found products.
Can be left empty in case sorting fields do not depend on search request.
VisualComponents
The visual components found in the search results.
Can be left empty in case the search does not return visual components.
SearchContext
The search context of this response. When the webstore emits an event for a product or product collection produced by this search, and that event includes a search context, this context is passed with the event.
Can be left empty when the extension does not supply a search context.