import { EditorView } from "prosemirror-view"; import { EditorSchema } from "../schema"; import { DocPos } from "../types"; import { FileSource } from "./AttachmentPlugin"; import { AttachmentService } from "./AttachmentService"; /** * Asynchronously interact with the editor, attachment service, and browser to * insert files as attachments, including image previews. */ export declare function insertAttachmentsFromFiles(view: EditorView, pos: DocPos, files: FileList, attachmentService: AttachmentService, source: FileSource): void; export declare function pickFile(view: EditorView, attachmentService: AttachmentService, accept: string): void;