import { type ForwardedRef, type ReactElement } from "react"; import { type SelectionProps, type SelectionStrategy } from "../common-hooks"; import { type DropdownBaseProps } from "../dropdown"; import { type InputLegacyProps as InputProps } from "../input-legacy"; import { type ListProps } from "../list"; export interface ComboBoxProps extends Omit, Pick, Pick, "ListItem" | "itemToString" | "source" | "width">, Pick, "onSelectionChange" | "selectionStrategy"> { InputProps?: InputProps; ListProps?: Omit, "ListItem" | "itemToString" | "source">; allowFreeText?: boolean; defaultValue?: string; getFilterRegex?: (inputValue: string) => RegExp; stringToItem?: (value?: string) => Item | null | undefined; value?: string; } export declare const ComboBox: (props: ComboBoxProps & { ref?: ForwardedRef; }) => ReactElement>;