import { EditorState, Transaction } from 'prosemirror-state';
import { Command } from "../../types/index.js";
import { Direction } from "./direction.js";
import { Side } from "./selection.js";
export declare type DirectionString = 'up' | 'down' | 'left' | 'right' | 'forward' | 'backward';
export declare const arrow: (dir: Direction, endOfTextblock?: (dir: DirectionString, state?: EditorState) => boolean) => Command;
export declare const deleteNode: (dir: Direction) => Command;
export declare const setGapCursorAtPos: (position: number, side?: Side) => Command;
export declare const setSelectionTopLevelBlocks: (tr: Transaction, event: React.MouseEvent<any>, editorRef: HTMLElement, posAtCoords: (coords: {
    left: number;
    top: number;
}) => {
    pos: number;
    inside: number;
} | null | void, editorFocused: boolean) => void;
export declare const setCursorForTopLevelBlocks: (event: React.MouseEvent<any>, editorRef: HTMLElement, posAtCoords: (coords: {
    left: number;
    top: number;
}) => {
    pos: number;
    inside: number;
} | null | void, editorFocused: boolean) => Command;
export declare const hasGapCursorPlugin: (state: EditorState) => boolean;
