import { type Accessor } from "solid-js"; import type { AutocompleteMode } from "./autocomplete-root.js"; /** * Autocomplete-specific context layered on top of the combobox root * context. Carries bits that combobox doesn't know about — currently * just the `mode`, which drives `aria-autocomplete` on the input and * the `data-*` attributes on the input-group. * * The bulk of shared state (open, inputValue, indices, refs, etc.) * still flows through `ComboboxRootContext` so that every * combobox-provided sub-part (Portal, Positioner, Popup, List, etc.) * works against an autocomplete root without rewiring. */ export interface AutocompleteRootContextValue { mode: Accessor; } export declare const AutocompleteRootContext: import("solid-js").Context; export declare function useAutocompleteRootContext(): AutocompleteRootContextValue; export declare function useAutocompleteRootContext(optional: true): AutocompleteRootContextValue | null; //# sourceMappingURL=autocomplete-root-context.d.ts.map