import { FilterValue, FilterValueWithLabel } from './types'; /** * Utility hook for either asynchronously loading filter values from a given * function or synchronously providing a given list of default values. * * @public */ export declare const useAsyncFilterValues: (fn: ((partial: string) => Promise) | undefined, inputValue: string, defaultValues?: FilterValueWithLabel[], debounce?: number) => { loading: boolean; error?: undefined; value?: undefined; } | { loading: false; error: Error; value?: undefined; } | { loading: true; error?: Error | undefined; value?: FilterValueWithLabel[] | undefined; } | { loading: boolean; value: FilterValueWithLabel[]; }; /** * Utility hook for applying a given default value to the search context. * * @public */ export declare const useDefaultFilterValue: (name: string, defaultValue?: string | string[] | null) => void;