import { Command as CommandPrimitive } from "cmdk"; import type { ComponentPropsWithoutRef, HTMLAttributes, ReactNode } from "react"; interface ComboboxProps extends Omit, "onChange"> { /** Selected value (controlled). */ value?: string; onValueChange?: (value: string) => void; /** Listbox visibility (controlled). */ open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; /** Set false to disable cmdk's internal filter (async mode — consumer filters). */ shouldFilter?: boolean; children: ReactNode; } type ComboboxInputProps = ComponentPropsWithoutRef; interface ComboboxContentProps extends HTMLAttributes { /** Async fetch in flight: shows the loading slot and hides items/empty. */ loading?: boolean; } type ComboboxItemProps = ComponentPropsWithoutRef; declare const Combobox: import("react").ForwardRefExoticComponent> & { Input: import("react").ForwardRefExoticComponent, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | "asChild" | keyof import("react").InputHTMLAttributes>, "type" | "value" | "onChange"> & { value?: string; onValueChange?: (search: string) => void; } & import("react").RefAttributes, "ref"> & import("react").RefAttributes>; Content: import("react").ForwardRefExoticComponent>; Item: import("react").ForwardRefExoticComponent, HTMLDivElement>, "key" | keyof HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | "asChild" | keyof HTMLAttributes>, "value" | "disabled" | "onSelect"> & { disabled?: boolean; onSelect?: (value: string) => void; value?: string; keywords?: string[]; forceMount?: boolean; } & import("react").RefAttributes, "ref"> & import("react").RefAttributes>; Empty: import("react").ForwardRefExoticComponent, HTMLDivElement>, "key" | keyof HTMLAttributes> & { ref?: React.Ref; } & { asChild?: boolean; }, "key" | "asChild" | keyof HTMLAttributes> & import("react").RefAttributes, "ref"> & import("react").RefAttributes>; }; export { Combobox }; export type { ComboboxProps, ComboboxContentProps, ComboboxInputProps, ComboboxItemProps };