import { CoreEngine } from '../../../app/engine.js';
import { SearchThunkExtraArguments } from '../../../app/search-thunk-extra-arguments.js';
import { CategoryFacetSearchSection, ConfigurationSection } from '../../../state/state-sections.js';
import { CategoryFacetSearchProps } from '../../core/facets/facet-search/category/headless-category-facet-search.js';
export declare function buildCategoryFacetSearch(engine: CoreEngine<CategoryFacetSearchSection & ConfigurationSection, SearchThunkExtraArguments>, props: CategoryFacetSearchProps): {
    state: {
        values: import("../../../commerce.index.js").CategoryFacetSearchResult[];
        isLoading: boolean;
        query: string;
        moreValuesAvailable: boolean;
    } | {
        values: import("../../../commerce.index.js").CategoryFacetSearchResult[];
        isLoading: boolean;
        query: string;
        moreValuesAvailable: boolean;
    } | {
        values: import("../../../commerce.index.js").CategoryFacetSearchResult[];
        isLoading: boolean;
        query: string;
        moreValuesAvailable: boolean;
    } | {
        values: import("../../../commerce.index.js").CategoryFacetSearchResult[];
        isLoading: boolean;
        query: string;
        moreValuesAvailable: boolean;
    };
    select(value: import("../../../commerce.index.js").CategoryFacetSearchResult): void;
    updateText(text: string): void;
    showMoreResults(): void;
    search(): void;
    clear(): void;
    updateCaptions(captions: Record<string, string>): void;
};
