import React from "react";
import { SearchToken, SuggestionResult } from "./client";
import { IconsCustom } from "../embeddable/entry";
export type WhoIsDynamic = "tab" | "filter" | "search" | "date";
type FilterCategoryDynamicallyProps = {
    suggestionCategoryId: number;
    suggestionCategoryName: string;
    tokens: SearchToken[];
    onAdd(searchToken: SearchToken): void;
    onRemove(searchToken: SearchToken): void;
    multiSelect: boolean;
    searchQuery: SearchToken[];
    isUniqueLoadMore?: boolean;
    loadAll?: boolean;
    language: string;
    haveSearch?: boolean | null | undefined;
    isDynamicElement: WhoIsDynamic[];
    placeholder?: string | undefined | null;
    noResultMessage?: string | null | undefined;
    numberItems?: number | null | undefined;
    iconCustom: IconsCustom;
    isOpenFilter?: boolean;
    setHasMoreSuggestionsCategories?: React.Dispatch<React.SetStateAction<boolean>>;
};
declare function FilterCategoryDynamic({ suggestionCategoryId, suggestionCategoryName, tokens, onAdd, onRemove, multiSelect, searchQuery, isUniqueLoadMore, loadAll, language, numberItems, isDynamicElement, setHasMoreSuggestionsCategories, noResultMessage, placeholder, iconCustom, haveSearch, isOpenFilter, }: FilterCategoryDynamicallyProps): import("react/jsx-runtime").JSX.Element;
export declare const FilterCategoryDynamicMemo: React.MemoExoticComponent<typeof FilterCategoryDynamic>;
export declare function useInfiniteSuggestions(isDynamicElement: WhoIsDynamic[], searchQueryNotFilter: SearchToken[] | null, activeSuggestionCategory: number, suggestKeyword: string, loadAll: boolean, language: string, numberItems: number | null | undefined, allDynamic?: boolean): import("react-query").UseInfiniteQueryResult<{
    result: SuggestionResult[];
    afterKey: string;
}, unknown>;
export declare function NoFiltersSearch(): import("react/jsx-runtime").JSX.Element;
export declare function mergeAndSortObjects(pages: {
    result: SuggestionResult[];
    afterKey?: string;
}[], selectedTokens: SearchToken[], suggestionCategoryId: number, suggestKeyword?: string): SuggestionResult[];
export declare function createSuggestion(searchQueryNotFilter: SearchToken[] | null, whoIsDynamic: WhoIsDynamic[]): SearchToken[] | null;
export declare function haveSomeValue(values: string[], value: string[]): boolean;
export {};
