import { Node } from "@tiptap/core"; export interface CustomSpanOptions { inline: boolean; HTMLAttributes: Record; } /** * 自定义标签 */ declare module "@tiptap/core" { interface Commands { customSpan: { /** * Add an CustomSpan */ setCustomSpan: (options: { "data-custom-tab": string; }) => ReturnType; }; } } export declare const inputRegex: RegExp; export declare const CustomSpan: Node; export default CustomSpan;