import { type FC, type PropsWithChildren } from 'react'; import { type UseComboboxOptions } from '../hooks/useCombobox'; /** * Root props for the compound Combobox component. */ export type ComboboxRootProps = PropsWithChildren & { /** * Optional selected value used for item highlighting when it differs from * the controlled value. */ currentValue?: string; }>; declare function ComboboxRoot({ value, onChange, currentValue, disabled, children, }: ComboboxRootProps): import("react/jsx-runtime").JSX.Element; /** * Props for the button that opens the combobox popover. */ export interface ComboboxTriggerProps { className?: string; ariaLabel?: string; } /** * Props for the popover content that contains combobox options. */ export interface ComboboxContentProps { searchable?: boolean; searchPlaceholder?: string; emptyMessage?: string; } /** * Props for an individual selectable combobox item. */ export interface ComboboxItemProps { /** * Stable item value committed through the Combobox onChange handler. */ value: string; /** * Optional display text or aliases used to match this item during search. */ keywords?: string[]; isSelected?: boolean; } /** * Compound component for Popover-based combobox selectors. * * @example * ```tsx * * * {selectedLabel} * * * {options.map((option) => ( * * {option.label} * * ))} * * * ``` */ export declare const Combobox: typeof ComboboxRoot & { Trigger: FC>; Content: FC>; Item: FC>; }; export {}; //# sourceMappingURL=combobox.d.ts.map