import { MenuHandle } from '../Menu/useMenuControl'; import { AllOptionAccessor, OptionAccessor } from '../Shared/types'; import { SelectDropdownOptions, SelectGroupHeaderRendererProps, SelectOptionRendererProps, SelectSize } from './types'; interface SelectDropdownProps { menuRef: React.RefObject; triggerRef: React.RefObject; anchorRef?: React.RefObject; dropdownVariant?: "list" | "drawer"; attachToParent?: boolean; filteredOptions: T[]; selectedIds: Set; optionLabel: OptionAccessor; optionValue: OptionAccessor; optionActive?: AllOptionAccessor; multiple: boolean; renderOption?: React.ComponentType>; renderOptionGroupHeader?: React.ComponentType>; renderOptionContext?: unknown; onSelect: (optionValue: string | number, closeOnSelect?: boolean) => void; onSelectGroup: (groupId: string | number, mode: "toggle" | "select" | "deselect") => void; closeDropdown: () => void; searchValue: string; onSearchChange: (value: string) => void; onSearchClear: () => void; searchInputRef: React.RefObject; dropdownOptions?: SelectDropdownOptions; onSearchKeyDown: (e: React.KeyboardEvent) => void; createOptionKeyHandler: (optionValue: string | number) => (e: React.KeyboardEvent) => void; navigateNext: () => boolean; navigatePrev: () => boolean; optionsContainerRef: React.RefObject; isLoading: boolean; emptyMessage: string; disabled: boolean; size: SelectSize; dropdownClassName?: string; label: string; } declare function SelectDropdown({ menuRef, triggerRef, dropdownVariant, attachToParent, filteredOptions, selectedIds, optionLabel, optionValue, optionActive, multiple, renderOption, renderOptionGroupHeader, renderOptionContext, onSelect, onSelectGroup, closeDropdown, searchValue, onSearchChange, onSearchClear, searchInputRef, dropdownOptions, onSearchKeyDown, createOptionKeyHandler, navigateNext, navigatePrev, optionsContainerRef, isLoading, emptyMessage, disabled, size, dropdownClassName, label, }: SelectDropdownProps): import("react/jsx-runtime").JSX.Element; export { SelectDropdown }; export type { SelectDropdownProps };