import type { ListFilterMethodFn, ListOptions, ListRemoteFilterFn } from '../../components/list/types'; import type { MaybeRefOrGetter } from '../../types/shared/utils'; import type { ComputedRef, ShallowRef } from 'vue'; /** Pure filter over list options. Groups with no matching children are dropped. */ export declare function filterListOptions(options: ListOptions, query: string, filter?: ListFilterMethodFn | undefined): ListOptions; export interface UseListSearchOptions { filterMethod?: MaybeRefOrGetter; remoteFilter?: MaybeRefOrGetter; } export interface UseListSearchReturn { /** The remote answer while a query is active, the locally filtered options otherwise. */ listOptions: ComputedRef; /** Whether a remote request is in flight, the debounce window included. */ pending: ShallowRef; } export declare function useListSearch(options: MaybeRefOrGetter, query: MaybeRefOrGetter, { filterMethod, remoteFilter }?: UseListSearchOptions): UseListSearchReturn;