import { Node } from '@tiptap/core'; interface ParagraphOptions { /** * The HTML attributes for a paragraph node. * @default {} * @example { class: 'foo' } */ HTMLAttributes: Record; } declare module '@tiptap/core' { interface Commands { paragraph: { /** * Toggle a paragraph * @example editor.commands.toggleParagraph() */ setParagraph: () => ReturnType; }; } } /** * This extension allows you to create paragraphs. * @see https://www.tiptap.dev/api/nodes/paragraph */ declare const Paragraph: Node; export { Paragraph, type ParagraphOptions, Paragraph as default };