import type { SearchAppState } from '../state/search-app-state.js';
type StateNeededBySearchRequest = Partial<SearchAppState>;
type SortCriteria = {
    type: string;
    order: string;
};
export declare function sortFacets<T extends {
    facetId: string;
}>(facets: T[], sortOrder: string[]): T[];
export declare const sortCriteriaMap: Record<string, SortCriteria>;
export declare function getFacets(state: StateNeededBySearchRequest): (import("../features/facets/facet-set/interfaces/request.js").FacetRequest | import("../features/facets/category-facet-set/interfaces/request.js").CategoryFacetRequest | import("../features/facets/range-facets/numeric-facet-set/interfaces/request.js").NumericFacetRequest | import("../features/facets/range-facets/date-facet-set/interfaces/request.js").DateFacetRequest)[];
export {};
