import { type MultipleSelectBoxOption, type AllowedValueTypes } from '../MultipleSelectBox.types'; /** * Custom hook to handle search functionality within a SelectBox component. * * @param options - Array of SelectBox options. * * @param enableSearchOptions - Indicates if the SelectBox component is searchable. * * @param onSearchOptions - Handler executed when the search text changes. When * provided, client-side filtering is disabled as it's assumed that the caller * will handle the filtering. * * @returns - Object containing the filtered options and a function to update the search text. */ export declare const useSearchBox: = Record>(options: MultipleSelectBoxOption[], enableSearchOptions: boolean, onSearchOptions?: (text: string) => void) => { onSearchTextChange: (event: React.ChangeEvent) => void; filteredOptions: MultipleSelectBoxOption[]; searchText: string; };