import type { Action, ExtensionAuto } from "../../../../core/index.js";
import type { FileUploadHandler } from "../../../../utils/upload.js";
declare const addFileAction = "addFile";
export type YfmFileWidgetOptions = {
    fileUploadHandler?: FileUploadHandler;
};
export declare const YfmFileWidget: ExtensionAuto<YfmFileWidgetOptions>;
declare global {
    namespace WysiwygEditor {
        interface Actions {
            [addFileAction]: Action;
        }
    }
}
export {};
