import { type ComponentType, type HTMLAttributes, type ReactNode, type Ref, type RefObject } from "react"; import { type InputLegacyProps as InputProps } from "../../input-legacy"; import { type IndexedListItemProps, type ListProps, type ListSelectionVariant } from "../../list-deprecated"; import { type WindowProps } from "../../window"; import type { GetFilterRegex } from "../filterHelpers"; export type BaseComboBoxProps = Omit, "children" | "onChange" | "onSelect" | "onFocus" | "onBlur" | "onClick"> & Pick, "displayedItemCount" | "itemToString" | "listRef" | "onChange" | "onSelect" | "overscanCount" | "virtualized" | "width"> & { ListItem?: ComponentType>; ListProps?: Partial>; WindowProps?: Partial; allowFreeText?: boolean; disabled?: boolean; getFilterRegex?: GetFilterRegex; initialOpen?: boolean; inputRef?: Ref; inputValue?: string; listWidth?: number | string; rootWidth?: string | number; rootRef: RefObject; disabledPortal?: boolean; source: ReadonlyArray; }; export interface DefaultComboBoxProps extends BaseComboBoxProps, Pick { InputProps?: InputProps; initialSelectedItem?: Item; selectedItem?: Item; multiSelect?: false; onInputFocus?: InputProps["onFocus"]; onInputBlur?: InputProps["onBlur"]; onInputChange?: InputProps["onChange"]; onInputSelect?: InputProps["onSelect"]; stringToItem?: (value?: string) => Item | null | undefined; } export declare const DefaultComboBox: (props: DefaultComboBoxProps) => ReactNode;