import { ComponentType } from 'react'; import { MentionAtomNodeAttributes, MentionAtomState, UseMentionAtomProps, UseMentionAtomReturn } from '@remirror/react-hooks'; interface MentionAtomPopupComponentProps extends UseMentionAtomProps { /** * Called whenever the query state changes. */ onChange: (mentionAtomState: MentionAtomState | null) => void; /** * The component to be used for rendering each item. */ ItemComponent?: ComponentType>; /** * The message that is displayed when there are no items to display. */ ZeroItemsComponent?: ComponentType; } /** * This component renders the emoji suggestion dropdown for the user. */ export declare function MentionAtomPopupComponent(props: MentionAtomPopupComponentProps): JSX.Element; interface MentionAtomPopupItemComponentProps { item: Data; state: UseMentionAtomReturn['state']; } export {};