import { Extension } from '@tiptap/core';
import '@tiptap/extension-text-style';
export type FontSizeOptions = {
    /**
     * Mark types where the `fontSize` attribute is applied (via inline `<span>` styles).
     */
    types: string[];
    /**
     * Node types where the `fontSize` attribute is applied so that the rendered
     * element itself receives the inline `font-size` style. This is required for
     * list items, whose `::marker` (the bullet/number) inherits font-size from
     * the `<li>` element and not from the inner `<span>` produced by `textStyle`.
     */
    nodeTypes: string[];
};
declare module '@tiptap/core' {
    interface Commands<ReturnType> {
        fontSize: {
            /**
             * Set the font size
             */
            setFontSize: (fontSize: string) => ReturnType;
            /**
             * Unset the font size
             */
            unsetFontSize: () => ReturnType;
        };
    }
}
declare const _default: Extension<FontSizeOptions, any>;
export default _default;
