import { Plugin } from "@tiptap/pm/state"; import { DecorationSet, EditorView } from "@tiptap/pm/view"; import { EditorContext } from "../Editor.vue"; declare const UploadAttachmentsPlugin: () => Plugin; export default UploadAttachmentsPlugin; export declare function startAttachmentUpload(context: EditorContext, file: File, view: EditorView, pos: number): void; export declare const handleAttachmentUpload: (context: EditorContext, file: File) => Promise;