import { Node } from '@tiptap/core'; import { GeneralOptions } from '../../types'; declare module '@tiptap/core' { interface Commands { attachment: { setAttachment: (attrs?: unknown) => ReturnType; }; } } export interface AttachmentOptions extends GeneralOptions { /** Function for uploading files */ upload?: (file: File) => Promise; } export * from './components/RichTextAttachment'; export declare const Attachment: Node;