import { ForwardedRef, ReactElement, RefObject } from 'react'; import { FilterFn } from '@react-stately/combobox'; import { Item } from '@react-stately/collections'; import { JengaSelectBaseProps } from '../Select/Select'; import type { CollectionBase, KeyboardDelegate, LoadingState } from '@react-types/shared'; import type { ComboBoxProps } from '@react-types/combobox'; export interface JengaComboBoxProps extends Omit, 'onOpenChange'>, ComboBoxProps, CollectionBase { icon?: ReactElement; multiLine?: boolean; autoComplete?: string; wrapperRef?: RefObject; inputRef?: RefObject; /** The ref for the list box popover. */ popoverRef?: RefObject; /** The ref for the list box. */ listBoxRef?: RefObject; /** An optional keyboard delegate implementation, to override the default. */ keyboardDelegate?: KeyboardDelegate; loadingState?: LoadingState; /** * The filter function used to determine if a option should be included in the combo box list. * Has no effect when `items` is provided. */ filter?: FilterFn; size?: 'small' | 'default' | 'large' | string; suffixPosition?: 'before' | 'after'; } export declare const ComboBox: ((props: JengaComboBoxProps & { ref?: ForwardedRef | undefined; }) => JSX.Element) & { Item: typeof Item; };