/** biome-ignore-all lint/a11y/noStaticElementInteractions: We know what we are doing */ import React from "react"; import { ListboxGroup } from "../group/ListboxGroup.js"; import { ListboxOptions } from "../options/ListboxOptions.js"; export interface ListboxProps { children: React.ReactNode; setVirtuallyFocusedOptionId: (value: string) => void; } /** * Low level component for displaying a list of selectable options with optional grouping. * Keyboard navigation is implemented with virtual focus so that real focus can remain on an input field. */ declare function Listbox({ children, setVirtuallyFocusedOptionId }: ListboxProps): React.JSX.Element; declare namespace Listbox { var InputSlot: ({ children }: import("../input-slot/ListboxInputSlot.js").ListboxInputSlotProps) => React.JSX.Element; var Options: typeof ListboxOptions; var Option: ({ id, hasVirtualFocus, children, className, ...rest }: import("../option/ListboxOption.js").ListboxOptionProps) => React.JSX.Element; var Group: typeof ListboxGroup; } export default Listbox;