///
import { Editor } from '@tiptap/core';
import { EditorView } from '@tiptap/pm/view';
import { Instance, Props } from 'tippy.js';
import { EventEmitter } from '../../utils/event-emitter';
export declare class Handle {
editor: Editor;
tippy: Instance | null;
component: React.FunctionComponent;
tippyOptions: Partial;
ignoreType: string[];
isShow: boolean;
emitter: EventEmitter<{
hover: any;
type: any;
show: any;
}>;
private lastPos;
prevent: boolean;
componentProps?: any;
constructor(editor: Editor, component: React.FunctionComponent, tippyOptions: Partial, ignoreType?: string[], componentProps?: any);
build(): Element;
createTippy(cover?: boolean): void;
mouseLeave(): void;
show(): void;
hide(): void;
setProps(location: Partial): void;
setPrevent(type: boolean): void;
move(view: EditorView, event: MouseEvent): false | undefined;
destroy(): void;
}