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