import { Extension } from '@tiptap/core'; import '@tiptap/extension-text-style'; type FontSizeOptions = { types: string[]; getStyle: (fontSize: string) => string; }; declare module '@tiptap/core' { interface Commands { fontSize: { /** * Set the font size attribute */ setFontSize: (size: string) => ReturnType; /** * Unset the font size attribute */ unsetFontSize: () => ReturnType; }; } } export declare const FontSize: Extension; export {};