import type { ComboBoxVariants } from "@heroui/styles"; import type { ComponentPropsWithRef, ReactNode } from "react"; import type { ButtonProps } from "react-aria-components/Button"; import { comboBoxVariants } from "@heroui/styles"; import React from "react"; import { ComboBox as ComboBoxPrimitive, Popover as PopoverPrimitive } from "react-aria-components/ComboBox"; type ComboBoxContext = { slots?: ReturnType; variant?: "primary" | "secondary"; }; declare const ComboBoxContext: React.Context; interface ComboBoxRootProps extends ComponentPropsWithRef>, ComboBoxVariants { items?: Iterable; /** * The variant of the combo box. * @default "primary" */ variant?: "primary" | "secondary"; } declare const ComboBoxRoot: ({ children, className, fullWidth, menuTrigger, variant, ...props }: ComboBoxRootProps) => import("react/jsx-runtime").JSX.Element; interface ComboBoxInputGroupProps extends React.HTMLAttributes { } declare const ComboBoxInputGroup: ({ children, className, ...props }: ComboBoxInputGroupProps) => import("react/jsx-runtime").JSX.Element; interface ComboBoxTriggerProps extends ButtonProps { className?: string; children?: ReactNode; } declare const ComboBoxTrigger: ({ children, className, ...rest }: ComboBoxTriggerProps) => import("react/jsx-runtime").JSX.Element; interface ComboBoxPopoverProps extends Omit, "children"> { children: React.ReactNode; } declare const ComboBoxPopover: ({ children, className, placement, ...props }: ComboBoxPopoverProps) => import("react/jsx-runtime").JSX.Element; export { ComboBoxRoot, ComboBoxInputGroup, ComboBoxTrigger, ComboBoxPopover, ComboBoxContext }; export type { ComboBoxRootProps, ComboBoxInputGroupProps, ComboBoxTriggerProps, ComboBoxPopoverProps, };