import { MarkType } from '@sse-editor/pm/model'; import { RawCommands } from '../types.js'; declare module '@sse-editor/core' { interface Commands { setMark: { /** * Add a mark with new attributes. */ setMark: (typeOrName: string | MarkType, attributes?: Record) => ReturnType; }; } } export declare const setMark: RawCommands['setMark'];