import { createComboBox } from '@sit-onyx/headless'; import { InjectionKey, Ref } from 'vue'; import { Nullable } from '../../types/utils.js'; import { OnyxBasicDialogProps } from '../OnyxBasicDialog/types.js'; export type OnyxGlobalSearchProps = Omit & { /** * The current search term. */ modelValue?: Nullable; /** * Whether the search is currently loading results. */ loading?: boolean; }; export declare const GLOBAL_SEARCH_INJECTION_KEY: InjectionKey<{ /** * Headless elements required for accessibility / keyboard support. */ headless: ReturnType>; /** * Value of the currently active option. */ activeValue: Ref; }>;