import { Extension } from '../../tiptap/vue-3';
import { Node, ResolvedPos } from '../../tiptap/pm';
import type { EditorView } from '../../tiptap/pm';
export interface ActiveNode {
    $pos: ResolvedPos;
    node: Node;
    el: HTMLElement;
    offset: number;
    domOffsetLeft: number;
    domOffsetTop: number;
}
export declare const selectAncestorNodeByDom: (dom: HTMLElement, view: EditorView) => ActiveNode | null;
declare const Draggable: Extension<any, any>;
export default Draggable;
