import type { RawCommands } from '@tiptap/core'; import type { NodeType } from '@tiptap/pm/model'; import type { EditorState } from '@tiptap/pm/state'; import type { EditorView } from '@tiptap/pm/view'; declare module '@tiptap/core' { interface Commands { updateTextNode: { /** * Update selected text nodes. */ updateTextNode: (typeOrName: string | NodeType, attributes?: Record) => ReturnType; }; } } export declare function updateBlockType(nodeType: NodeType, attrs: Record): (state: EditorState, dispatch?: EditorView['dispatch']) => boolean; export declare const updateTextNode: RawCommands['updateTextNode']; //# sourceMappingURL=updateTextNode.d.ts.map