import{useCallback as n}from"react";import{resetLassoDrawState as o}from"./useLassoDrawActions.js";var e=function(e,r,i,t,a,c,u,l,s,f,p,m){return{confirm:n((function(){"confirming"===e.phase&&r&&(null==t||t(i.map((function(n){return n.id}))),o(c,s,f,p,m),u({phase:"idle"}),l("none"),null==a||a())}),[e.phase,r,i,t,u,l,a,c,s,f,p,m]),cancel:n((function(){o(c,s,f,p,m),u({phase:"idle"}),l("none"),null==a||a()}),[u,l,a,c,s,f,p,m])}};export{e as useLassoConfirmCancel};
//# sourceMappingURL=useLassoConfirmCancel.js.map
