import { addWidget } from "./widget.js";
export const addImageWidget = (deps, opts) => ({
    isEnable: (state) => state.selection.empty,
    run(state, dispatch) {
        dispatch(addWidget(state.tr, deps, opts));
    },
});
//# sourceMappingURL=actions.js.map
