import { selectAll } from "prosemirror-commands"; import { EditorState } from "prosemirror-state"; import { UxCommand } from "./constants"; import { Dispatch } from "./types"; export declare function deleteBackward(state: EditorState, dispatch?: Dispatch): boolean; export declare function deleteForward(state: EditorState, dispatch?: Dispatch): boolean; export declare function enter(state: EditorState, dispatch?: Dispatch): boolean; export declare function preventDefault(): boolean; export { selectAll }; export declare const ux: { [UxCommand.DeleteBackward]: typeof deleteBackward; [UxCommand.DeleteForward]: typeof deleteForward; [UxCommand.Enter]: typeof enter; [UxCommand.Lift]: typeof preventDefault; [UxCommand.SelectAll]: typeof selectAll; [UxCommand.Sink]: typeof preventDefault; [UxCommand.TabForward]: import("./types").Command; [UxCommand.TabBackward]: import("./types").Command; };