import { type KeyboardEvent, type ReactNode, type RefObject } from 'react'; import type { ComboboxItem, ComboboxOption } from './types'; type Props = { options: Array>; dropdownHelpMessage?: ReactNode; dropdownWidth?: string | number; onAdd?: (label: string) => void; onSelect: (item: ComboboxItem) => void; isExpanded: boolean; isLoading?: boolean; triggerRef: RefObject; /** 検索結果が0件の時に表示するコンテンツ */ noResultText?: ReactNode; }; export declare const useListbox: ({ options, dropdownHelpMessage, dropdownWidth, onAdd, onSelect, isExpanded, isLoading, triggerRef, noResultText: orgNoResultText, }: Props) => { renderListBox: () => import("react").ReactPortal | null; activeOption: ComboboxOption | null; onKeyDownListBox: (e: KeyboardEvent) => void; listBoxId: string; listBoxRef: RefObject; }; export {};