import { Extension } from '@tiptap/core'; /** * Configuration options for the FontSize extension * @interface FontSizeOptions * @property {string[]} types - Array of node types that can have font size applied (usually ['textStyle']) * @property {Record} HTMLAttributes - Additional HTML attributes to be applied to the font size marks */ interface FontSizeOptions { types: string[]; HTMLAttributes: Record; } declare module "@tiptap/core" { interface Commands { fontSize: { setFontSize: (size: string) => ReturnType; }; } } export declare const FontSize: Extension; export {};