import type { ReactElement, ReactNode } from 'react'; import React from 'react'; import { type RenderElementProps } from 'slate-react'; import type { SearchInput } from '../../../components'; import type { PlaceholderNode } from '../PlaceholderNode'; import { type Props as PlaceholderProps } from './Placeholder'; import type { Props as PlaceholderElementProps } from './PlaceholderElement'; import { SearchInputPlaceholder } from './SearchInputPlaceholder'; export type Props = RenderElementProps & Pick & Pick & Pick, 'getSuggestions' | 'invalidateSuggestions' | 'onSelect' | 'renderAddon'> & { element: PlaceholderNode; renderEmpty?: (props: { placeholder: PlaceholderNode; } & SearchInput.Props.Empty) => ReactElement | null; renderSuggestion?: (props: { placeholder: PlaceholderNode; } & SearchInput.Props.Option) => ReactElement | null; renderSuggestions?: (props: { placeholder: PlaceholderNode; } & SearchInput.Props.Suggestions) => ReactElement | null; inputTitle: SearchInputPlaceholder.Props['title']; inputDescription: SearchInputPlaceholder.Props['description']; inputPlaceholder?: SearchInputPlaceholder.Props['placeholder']; } & { renderFrame?: (props: { isSelected: boolean; }) => ReactNode; }; export declare function SearchInputPlaceholderElement({ attributes, children, element, renderAddon, renderFrame, format, icon, title, description, removable, getSuggestions, invalidateSuggestions, renderEmpty, renderSuggestion, renderSuggestions, inputTitle, inputDescription, inputPlaceholder, onDrop, onSelect, }: Props): React.JSX.Element;