import { Extension } from '@tiptap/core'; import { Mark } from '@tiptap/pm/model'; import { GeneralOptions } from '../../type'; /** * Represents the interface for font size options, extending GeneralOptions. */ export interface FormatPainterOptions extends GeneralOptions { } declare module '@tiptap/core' { interface Commands { painter: { setPainter: (marks: Mark[]) => ReturnType; }; } } export type PainterAction = { type: 'start' | 'end'; marks: Mark[]; }; /** * 格式刷 */ export declare const FormatPainter: Extension;