import type { CommerceFacetSetSection, CommerceQuerySection } from '../../../../state/state-sections.js'; import type { StateNeededForPaginatedCommerceAPIRequest } from '../../common/paginated-commerce-api-request-builder.js'; import type { StateNeededForCategoryFacetSearch } from './category/commerce-category-facet-search-state.js'; import type { StateNeededForRegularFacetSearch } from './regular/commerce-regular-facet-search-state.js'; export type CoreStateNeededForFacetSearch = StateNeededForPaginatedCommerceAPIRequest & CommerceFacetSetSection & Partial; export type StateNeededForAnyFacetSearch = StateNeededForRegularFacetSearch | StateNeededForCategoryFacetSearch;