"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../utils/use-constant.mjs.js");class o{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,o){this.componentControls.forEach((s=>{s.start(t.nativeEvent||t,o)}))}cancel(){this.componentControls.forEach((t=>{t.cancel()}))}stop(){this.componentControls.forEach((t=>{t.stop()}))}}const s=()=>new o;exports.DragControls=o,exports.useDragControls=function(){return t.useConstant(s)};
//# sourceMappingURL=use-drag-controls.mjs.js.map
