import type { CategoryFacetValue as CommerceCategoryFacetValue } from '../../commerce/facets/facet-set/interfaces/response.js'; import type { CategoryFacetValueRequest } from './interfaces/request.js'; import type { CategoryFacetValue } from './interfaces/response.js'; type GenericCategoryFacetValue = CategoryFacetValueRequest | CategoryFacetValue; type CategoryFacetValuePartition = { parents: T[]; values: T[]; }; export declare function partitionIntoParentsAndValues(nestedValues: T[] | undefined): CategoryFacetValuePartition; export declare function findActiveValueAncestry(valuesAsTress: CategoryFacetValueRequest[]): CategoryFacetValueRequest[]; export declare function findActiveValueAncestry(valuesAsTress: CommerceCategoryFacetValue[]): CommerceCategoryFacetValue[]; export declare function findActiveValueAncestry(valuesAsTress: CategoryFacetValue[]): CategoryFacetValue[]; export {};