import { ReactNode } from 'react';
import { RichTextEditorMentionOption } from '../types';
export type MentionPopoverRef = {
    onKeyDown: (props: {
        event: KeyboardEvent;
    }) => boolean;
};
type MentionPopoverProps = {
    open: boolean;
    rect: DOMRect | null;
    items: RichTextEditorMentionOption[];
    command: ((item: RichTextEditorMentionOption) => void) | null;
    renderOption?: (option: RichTextEditorMentionOption) => ReactNode;
};
export declare const MentionPopover: import('react').ForwardRefExoticComponent<MentionPopoverProps & import('react').RefAttributes<MentionPopoverRef>>;
export {};
