import { HTMLEditor } from '../../../core/HTMLEditor';
export type Mention = {
    id: string;
    label: string;
};
export declare class MentionsMenu {
    private popup;
    private editor;
    private allMentions;
    private onPick;
    private currentQuery;
    constructor(editor: HTMLEditor, mentions: Mention[]);
    private createPopup;
    private buildItems;
    private update;
    private pick;
    show(onPick: (m: Mention) => void, x?: number, y?: number): void;
    setMentions(mentions: Mention[]): void;
    destroy(): void;
}
