import { type ReactNode } from 'react'; import type { LunaticError } from '../../use-lunatic/type'; import type { LunaticBaseProps, LunaticComponentProps } from '../type'; import type { SuggesterOptionType } from './SuggesterType'; type Props = { className?: string; classNamePrefix?: string; placeholder?: string; onSelect: (option: SuggesterOptionType | null) => void; onBlur: () => void; onFocus: () => void; value: [SuggesterOptionType] | []; /** * @deprecated use createCustomizableField with ComboboxLabelRenderer as name. */ labelRenderer: LunaticComponentProps<'Suggester'>['labelRenderer']; /** * @deprecated use createCustomizableField with ComboboxOptionRenderer as name. */ optionRenderer: LunaticComponentProps<'Suggester'>['optionRenderer']; disabled?: boolean; readOnly?: boolean; id?: string; label?: ReactNode; declarations?: LunaticBaseProps['declarations']; description?: ReactNode; errors?: LunaticError[]; options: SuggesterOptionType[]; onSearch: (s: string) => void; onClear: () => void; search: string; state: 'loading' | 'error' | 'success'; required?: boolean; }; export declare const CustomSuggester: import("react").ComponentType; export {};