import type { SearchEngine } from '../../../app/search-engine/search-engine.js'; import type { AutomaticFacet } from '../automatic-facet-generator/headless-automatic-facet-generator.js'; /** * @internal * This prop is used internally by the `AutomaticFacetGenerator` controller. */ interface AutomaticFacetProps { /** * The field from which to display values in the facet. */ field: string; } /** * @internal * This initializer is used internally by the `AutomaticFacetGenerator` controller. * * **Important:** This initializer is meant for internal use by Headless only. As an implementer, you should never import or use this initializer directly in your code. * * @param engine - The headless engine. * @param props - The configurable `AutomaticFacet` properties used internally. * @returns An `AutomaticFacet` controller instance. * */ export declare function buildAutomaticFacet(engine: SearchEngine, props: AutomaticFacetProps): AutomaticFacet; export {};