import { InputProps, TooltipContextProps, WindowProps } from "@jpmorganchase/uitk-core"; import { ComponentType, HTMLAttributes, ReactNode, Ref, RefObject } from "react"; import { IndexedListItemProps, ListProps, ListSelectionVariant } from "../../list-deprecated"; import { GetFilterRegex } from "../filterHelpers"; export declare type BaseComboBoxProps = Omit, "children" | "onChange" | "onSelect" | "onFocus" | "onBlur" | "onClick"> & Pick, "displayedItemCount" | "itemToString" | "listRef" | "onChange" | "onSelect" | "overscanCount" | "tooltipEnterDelay" | "tooltipLeaveDelay" | "tooltipPlacement" | "virtualized" | "width"> & { ListItem?: ComponentType>; ListProps?: Partial>; Tooltip?: TooltipContextProps["Tooltip"]; 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;