import { EditorFnProps } from "../../../type"; import { Editor } from "@tiptap/core"; import React from "react"; import { AttachmentAttributes } from "."; type InsertAttachmentProps = { editor: Editor; selected: boolean; attrs: AttachmentAttributes; updateAttributes: (attrs: AttachmentAttributes) => void; deleteNode?: () => void; } & EditorFnProps; declare const InsertAttachment: ({ editor, selected, deleteNode, onUpload, onError }: InsertAttachmentProps) => React.JSX.Element; export default InsertAttachment;