import * as React from 'react'; import { Combobox as ComboboxPrimitive } from '@strapi/ui-primitives'; import { Field } from '../Field'; interface ComboboxProps extends Pick, Pick, Omit { clearLabel?: string; creatable?: boolean | 'visible'; createMessage?: (value: string) => string; creatableStartIcon?: React.ReactNode; hasMoreItems?: boolean; loading?: boolean; loadingMessage?: string; noOptionsMessage?: (value: string) => string; onChange?: ComboboxPrimitive.RootProps['onValueChange']; onClear?: React.MouseEventHandler; onCreateOption?: (value?: string) => void; onLoadMore?: (entry: IntersectionObserverEntry) => void; onInputChange?: React.ChangeEventHandler; /** * @default "M" */ size?: 'S' | 'M'; startIcon?: React.ReactNode; } type ComboboxInputElement = HTMLInputElement; declare const Combobox: React.ForwardRefExoticComponent>; interface ComboboxOptionProps extends ComboboxPrimitive.ItemProps { children: React.ReactNode; } declare const Option: React.ForwardRefExoticComponent>; export { Combobox, Option as ComboboxOption }; export type { ComboboxInputElement, ComboboxOptionProps, ComboboxProps }; //# sourceMappingURL=Combobox.d.ts.map