import { EditorState } from "prosemirror-state"; import { UxCommand } from "../constants"; import { Command, Dispatch } from "../types"; /** * Compose a text link from the current selection. */ export declare const composeTextLink: Command; export declare const editTextLink: Command; export declare const saveTextLink: (state: EditorState, link: { text: string; url: string; }, dispatch?: Dispatch | undefined) => boolean; export declare const removeLink: Command; export declare const dismissEditorOrComposer: Command; export declare const ux: { [UxCommand.ComposeLink]: Command; };