/** @internal */ export type FilterFieldState = { suggestions: Map void>; activeSuggestion: number; }; /** @internal */ export type SuggestionPayload = { /** The id of the suggestion. */ id: string; }; /** @internal */ export type AddSuggestionPayload = SuggestionPayload & { /** Callback to apply the selected suggestion's value. */ applySuggestion: () => void; }; /** @internal */ export declare const enum FilterFieldActions { ADDSUGGESTION = "add", REMOVESUGGESTION = "remove" } /** @internal */ export type FilterFieldReducerAction = { type: FilterFieldActions.ADDSUGGESTION; payload: AddSuggestionPayload; } | { type: FilterFieldActions.REMOVESUGGESTION; payload: SuggestionPayload; }; /** * FilterField reducer function used to add / remove filter field suggestions. * @internal */ export declare function filterFieldReducer(state: FilterFieldState, action: FilterFieldReducerAction): FilterFieldState;