import { Slice } from '@tiptap/pm/model';
import { EditorView } from '@tiptap/pm/view';

/**
 * @public
 */
export type Direction = -1 | 1;
export declare const handleKeyDown: (view: EditorView, event: KeyboardEvent) => boolean;
export declare function handleTripleClick(view: EditorView, pos: number): boolean;
/**
 * @public
 */
export declare function handlePaste(view: EditorView, _: ClipboardEvent, slice: Slice): boolean;
export declare function handleMouseDown(view: EditorView, startEvent: MouseEvent): void;
