import { ComponentPropsWithoutRef, ReactNode } from 'react'; import { UseComboboxProps as UseDownshiftComboboxLegacyProps, UseSelectProps as UseDownshiftSelectProps, UseComboboxReturnValue as UseDownshiftComboboxLegacyReturnValue, UseSelectReturnValue as UseDownshiftSelectReturnValue } from 'downshift'; export type ComboboxLegacyContentOptionsProps = { optionProps: ReturnType["getItemProps"]> & { selected: boolean; disabled: boolean; }; item: Item; index: number; }; export type ComboboxLegacyContentProps = Omit, "children"> & { children?: ({ items, inputValue, selectedItem, getMenuProps, getItemProps, }: Pick | UseDownshiftSelectProps, "items"> & Pick | UseDownshiftSelectReturnValue, "getMenuProps" | "getItemProps" | "inputValue" | "selectedItem"> & { listProps: ReturnType["getMenuProps"] | UseDownshiftSelectReturnValue["getMenuProps"]> & { style: any; }; options: ComboboxLegacyContentOptionsProps[]; }) => ReactNode; disablePopover?: boolean; }; export declare const ComboboxLegacyContent: ({ children, className, disablePopover, ...rest }: ComboboxLegacyContentProps) => import("react/jsx-runtime").JSX.Element;