import type { RichTextEditor, TextNodeType } from '../../../text-editor/types'; export declare const getMatcher: (type: TextNodeType) => ((n: import("../../../text-editor/types")._RichTextNode | RichTextEditor) => n is import("../../../text-editor/types")._RichTextLink) | ((n: import("../../../text-editor/types")._RichTextNode | RichTextEditor) => n is import("../../../text-editor/types").DTRNode); /** * Inserts a new-line node at the current selection. */ export declare const insertNewLine: (editor: RichTextEditor) => void; /** * Returns true if the selection is at the edge of the node where the current selection is. */ export declare const selectionAtNodeEdge: (editor: RichTextEditor) => boolean;