import type { Transaction } from 'prosemirror-state';
import type { ExtensionDeps } from "../../../../core/index.js";
import type { FileUploadHandler } from "../../../../utils/upload.js";
export declare const addWidget: (tr: Transaction, deps: ExtensionDeps, uploadFiles?: FileUploadHandler) => Transaction;
export declare const removeWidget: (tr: Transaction, id: string) => Transaction;
