import type { AnyFacetRequest as AnyCommerceFacetRequest } from '../../commerce/facets/facet-set/interfaces/request.js';
import type { FacetRequest } from '../facet-set/interfaces/request.js';
import type { AnyFacetRequest } from './interfaces/generic-facet-request.js';
import type { AnyFacetSlice } from './interfaces/generic-facet-section.js';
export type SpecificFacetState<SliceType extends AnyFacetSlice = AnyFacetSlice> = Record<string, SliceType>;
export declare function handleFacetSortCriterionUpdate<T extends AnyFacetSlice>(state: SpecificFacetState<T>, payload: {
    facetId: string;
    criterion: T['request']['sortCriteria'];
}): void;
export declare function handleFacetDeselectAll(facetRequest: FacetRequest): void;
export declare function handleFacetUpdateNumberOfValues<T extends AnyFacetRequest | AnyCommerceFacetRequest>(facetRequest: T | undefined, numberOfValues: number): void;
