import type { FacetEntity } from '../../entities/types/index.js'; /** * Build all the children below a certain facetId, by facetId received. This is a * recursive function to be able to find children at all facet levels. * * @param facets - All facets existent. * @param facetId - Facet id to discover all the children. * * @returns Array with objects that representing all the children encountered. */ declare const buildFacetTree: (facets: FacetEntity[] | undefined, facetId: FacetEntity['id']) => Array | undefined; export default buildFacetTree;