import { MarkType, NodeType } from '@sse-editor/pm/model'; import { RawCommands } from '../types.js'; declare module '@sse-editor/core' { interface Commands { updateAttributes: { /** * Update attributes of a node or mark. */ updateAttributes: (typeOrName: string | NodeType | MarkType, attributes: Record) => ReturnType; }; } } export declare const updateAttributes: RawCommands['updateAttributes'];