import { Node } from "prosemirror-model"; import { Transaction } from "prosemirror-state"; import { EditorSchema } from "../schema"; /** * Toggle whether an attachment preview is shown. */ export declare function toggleHidePreview(tr: Transaction, pos: number): void; export declare function remove(tr: Transaction, pos: number): void; export declare function insertAttachment(tr: Transaction, nearPos: number, attachmentNode: Node): void;